BlueBook
Determine the mode of a set of data.
Input Specification
A sequence of lines. Each line will contain a non-negative integer no
greater than
Output Specification
The mode of the set of data. If there is more than one mode, output all modes sorted in ascending order on separate lines.
Sample Input
Copy
2
3
4
4
-1
Sample Output
Copy
4
Comments