Hard
Most Frequent
Read a list of integers and print the value that appears most often. If there's a tie, print the smallest of the tied values.
Input
One line of integers.
Output
One value.
Sample 1
Input
1 2 2 3 3
Output
2
Sample 2
Input
5
Output
5
Output appears here