{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003eThe cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Paper, Stone\u0027 (also known as \u0027Rock, Paper, Scissors\u0027, \u0027Ro, Sham, Bo\u0027, and a host of other names) in order to make arbitrary decisions such as who gets to be milked first. They can\u0027t even flip a coin because it\u0027s so hard to toss using hooves.\u003c/p\u003e\u003cp\u003eThey have thus resorted to \"round number\" matching. The first cow picks an integer less than two billion. The second cow does the same. If the numbers are both \"round numbers\", the first cow wins,\u003cbr\u003eotherwise the second cow wins.\u003c/p\u003e\u003cp\u003eA positive integer \u003ci\u003eN\u003c/i\u003e is said to be a \"round number\" if the binary representation of \u003ci\u003eN\u003c/i\u003e has as many or more zeroes than it has ones. For example, the integer 9, when written in binary form, is 1001. 1001 has two zeroes and two ones; thus, 9 is a round number. The integer 26 is 11010 in binary; since it has two zeroes and three ones, it is not a round number.\u003c/p\u003e\u003cp\u003eObviously, it takes cows a while to convert numbers to binary, so the winner takes a while to determine. Bessie wants to cheat and thinks she can do that if she knows how many \"round numbers\" are in a given range.\u003c/p\u003e\u003cp\u003eHelp her by writing a program that tells how many round numbers appear in the inclusive range given by the input (1 ≤ \u003ci\u003eStart\u003c/i\u003e \u0026lt; \u003ci\u003eFinish\u003c/i\u003e ≤ 2,000,000,000).\u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"Line 1: Two space-separated integers, respectively \u003ci\u003eStart\u003c/i\u003e and \u003ci\u003eFinish\u003c/i\u003e."}},{"title":"Output","value":{"format":"HTML","content":"Line 1: A single integer that is the count of round numbers in the inclusive range \u003ci\u003eStart\u003c/i\u003e..\u003ci\u003eFinish\u003c/i\u003e"}},{"title":"Sample","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e2 12\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e6\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}