Find the number of integers in the range that can be represented in the form 2^x \cdot 3^y where x \ge 0 and y \ge 0.
Contains no more than 10^6 lines. Each line contains two integers and b~(0 \le a \le b \le 10^{18}), representing a single query.
For each query, print on a separate line the number of integers within the range inclusive that can be written in the form 2^x \cdot 3^y.
Example 1