EasyRating 900
Most Common Bird
Birds are recorded by type id. Print the most frequently seen type; if several tie, print the smallest id.
Input
n, then n type ids.
Output
One integer.
Sample 1
Input
6 1 4 4 4 5 3
Output
4
Sample 2
Input
4 2 2 1 1
Output
1
Output appears here