Given an array A with n values, X of A is an array that holds in index i the number of elements which are bigger than A[I] and are to its right side.
For example,