Piglet, lying on the lawn, watched the swaying grass. He realized that the grass was swaying because the wind was blowing, and then he came up with an idea of how to measure the strength of the wind using the grass. The wind strength, by Piglet's definition, is the height that appears most frequently among all the blades of grass. If there are several such heights, then the lowest height among them should be taken as the strength of the wind — there's nothing you can do, because Piglet liked to walk more in calm weather.
The first line contains one number — the number of grass blades observed by Piglet. The next line contains numbers — the heights of the grass blades.
All input data are positive integers not exceeding , as Piglet does not like to count much and could not do it for a very simple reason: he had never encountered numbers larger than in his life.
Print one number — the strength of the wind according to Piglet's definition.
Örnek 1