You are given an array of n integer numbers , , .. ,. Calculate the number of pair of indices such that < and xor
Input format
- First line: n denoting the number of array elements
- Second line: n space separated integers , , .. ,.
Output format
Output the required number of pairs.
Constraints
The 2 pair of indices are and .