Consider every array of length N whose elements are integers between 0 and K, inclusive. Count how many of those arrays have a bitwise XOR of all their elements greater than 0.
A value may appear more than once, and two arrays that hold the same values in a different order count as different arrays.
Input
The first line contains N and K, separated by a space. (1≤N≤20000, 1≤K≤50000)
Output
Print the number of arrays that satisfy the condition, modulo 30011, on the first line.