{"raw_statement":[{"iden":"background","content":"对应的选择、判断题：<https://ti.luogu.com.cn/problemset/1182>"},{"iden":"statement","content":"对于正整数 $n$，如果 $n$ 可以表为两个 $2$ 的次幂之和，即 $n = 2^x + 2^y$（$x, y$ 均为非负整数），那么称 $n$ 为幂和数。\n\n给定正整数 $l, r$，请你求出满足 $l \\leq n \\leq r$ 的整数 $n$ 中有多少个幂和数。"},{"iden":"input","content":"一行，两个正整数 $l, r$，含义如上。"},{"iden":"output","content":"输出一行，一个整数，表示 $l, r$ 之间幂和数的数量。"},{"iden":"note","content":"对于所有测试点，保证 $1 \\leq l \\leq r \\leq 10^4$。\n"}],"translated_statement":null,"sample_group":[["2 8","6"],["10 100","20"]],"show_order":[],"formal_statement":null,"simple_statement":null,"has_page_source":false}