You are given a list of amount of money of T people, one by one. After each element in the list print the top 3 richest people's amount of money.
Input:
First line contains an integer, T, number of queries.
Next T lines contains an integer each, X.
ith query contains amount of money ith person have.
Output:
For each query, print the top 3 richest people's amount of money in the town and if there are less than 3 people in town then print -1.
Constraints:
1≤T≤105
1≤X≤106