The once a year Hakka's frugal competition is coming.
They want to know who is the most frugal participants, that is, who spend less money.
So, they need a scoreboard to rank every participants.
They ask you for a help.
But they are too frugal to pay you money.
So you have to help them for free. QQ
Given an integer N, which is the number of the participants.
And N integers Ai, Ai represent the money that the ith participant spend.
You should output the rank of each participant.
The less the participant spend, the higher the participant rank,
the rank is starting from 1, and if two participant spend same ammount of money, they must be at same rank.
For example, if N=5 and A = [5, 5, 1, 2, 6],
then you should output 3 3 1 2 5,
since the first and second participant spend same ammount of money,
so they tied at the third place.
ouo.
Input contains 2 lines.
The first line contain a integer N, represent the number of participant.
And the second line contain N integer Ai, represent the money the ith participant spend.
It's is guarantee that 1 <= N <= 2000, and 1 <= Ai <= 10^9.
Output contain 1 line.
The rank of each participant, and there should be a space between each rank.
Remember to add a newline character at the end of line.