Given a number, the task is to find XOR of count of 0s and count of 1s in binary representation of a given number.
Examples:
Input : 5
Output : 3
Binary representation : 101
Count of 0s = 1,
Count of 1s = 2
1 XOR 2 = 3.
XOR counts of 0s and 1s in binary representation : https://www.geeksforgeeks.org/xor-counts-0s-1s-binary-representation/