Black Friday is the Friday right after Thanksgiving Day in the United States (the fourth Thursday of November). Since the early 2000s it has been treated there as the start of the Christmas shopping season, and most large retailers open very early and run promotional sales.
You work in the IT support division of an electronics store. To keep the store from getting crowded, management decided this year to limit how many people come in at once. The people waiting at the entrance are split into groups of n, and each group is handled as follows. All n members roll a die and report the outcomes a1,a2,…,an. To prevent cheating, the store does not pick the person with the largest outcome. It picks the person with the largest outcome among the outcomes that exactly one person rolled. Everyone who is not picked moves to the back of the queue. If nobody is picked, the group rolls again.
For example, if three people roll 6, 6 and 5, the third person is picked. The first two rolled higher, but their outcomes are equal, so they are out. If the third person also rolls 6, nobody is picked.
Write a program that reads the rolls of one group and reports who is picked.
The first line contains the group size n (1≤n≤100). The second line contains the n outcomes a1,a2,…,an, separated by spaces (1≤ai≤6).
Print the number of the person with the largest outcome among the outcomes that exactly one person rolled. People are numbered from 1 to n in input order. If no outcome was rolled by exactly one person, print none.