I Feel So Sigma
A quick question is a good question. Calculate the following sum:
Input
The first line consists of two integers , representing the parameters for the sum. The following conditions hold:
Output
Output the value of the sum.
Note: Since the answer may be very large, return it modulus .
Example
Input
4 6
Output
12
The sum of these XORs is , so
.
Comments