Bobo has a set of n integers a_1,a_2,…,a_n. He randomly picks a subset x_1,x_2,…,x_m (each subset has equal probability to be picked), and would like to know the expectation of \[popcount(x_1⊕x_2⊕⋯⊕x_m)]k.
Note that popcount(x) is the number of ones in the binary notation of x, and ⊕ denotes bitwise exclusive-or.
The first line contains 2 integers n,k (1≤n≤44,1≤k≤109).
The second line contains n integers a_1,a_2,…,a_n (0≤a_i<244).
If the expectation is E, print a single integer denotes E⋅2nmod(109+7).