There are N integers (1<=N<=65537)
A1, A2,.. AN (0<=Ai<=10^9). You need to find amount of such pairs (i, j)
that 1<=i<j<=N and A[i]>A[j].
The first line of the input contains the
number N. The second line contains N numbers A1...AN.
Write amount of such pairs.