代码 s = input().split()[1:] a = 0 for i in set(s): if s.count(i) > a: a = s.count(i) num = i print(num,a)