A zero XOR subset is a non-empty subset that contains XOR of all the elements in it that is equal to 0. You are given an array of N numbers.
You are required to determine the number of different zero XOR subsets of this array.
Input format
Output format
Print the single number denoting the count of zero XOR subsets of the given array.
Constraints
1≤N≤401≤a[i]≤1018
For [1, 2, 3] ,there is only 1 subset (1, 2, 3) having Xor (1 ^ 2 ^3) = 0.
So, the answer is 1.