Problems
SMS voting
SMS voting
In the final American Idol SMS voting was conducted to determine the winners among the \textbf{N} participants. TV viewers to send SMS with the number (a number from \textbf{1} to \textbf{N}) of your favorite artist and number of the SMS were rating each participant. Total on the host computer competition, of \textbf{M} messages SMS. Need to make a program that displays numbers of three winners in descending order of their rankings and increasing numbers, if the ratings are equal.
\InputFile
The first line contains two numbers \textbf{N} and \textbf{M} (\textbf{3} ≤ \textbf{N }≤ \textbf{100}, \textbf{1 }≤ \textbf{M }≤ \textbf{1000000}).
The next line of \textbf{M} numbers, each of which does not exceed \textbf{N}.
\OutputFile
Three numbers - numbers of the winners recorded in a single line through the space.
Input example #1
5 10 1 2 3 4 5 2 1 2 4 2
Output example #1
2 1 4