LearnPy Hub
← Arena
IntermediateRating 1400

More Than a Third

Print, in increasing order, every value that appears more than n/3 times. Print NONE if there are none.

Input

n, then n integers.

Output

One line.

Sample 1

Input
3
3 2 3
Output
3

Sample 2

Input
1
1
Output
1
solution.py
Output appears here
More Than a Third · Python Arena problem · LearnPy Hub