import sys

from itertools import dropwhile

a = []

for v in sys.stdin:

    a.append(int(v))



m = max([a.count(v) for v in set(a)])

try:

    next(dropwhile(lambda x: True, (print(v) for v in set(a) if a.count(v) == m)))

except StopIteration:

    pass

a = [0] * 101

while True:

    try:

        a[int(eval(input()))] += 1

    except:

        break

maxv = max(a)

for i, v in enumerate(a):

    if maxv == v:

        print(i)
import sys
from itertools import dropwhile

a = []
for v in sys.stdin:
    a.append(int(v))
m = max([a.count(v) for v in set(a)])
try:
    next(dropwhile(lambda x: True, (print(v) for v in set(a) if a.count(v) == m)))
except StopIteration:
    pass

a = [0] * 101
while True:
    try:
        a[int(eval(input()))] += 1
    except:
        break
maxv = max(a)
for i, v in enumerate(a):
    if maxv == v:
        print(i)

-import sys -from itertools import dropwhile - -a = [] -for v in sys.stdin: -    a.append(int(v)) -m = max([a.count(v) for v in set(a)]) -try: -    next(dropwhile(lambda x: True, (print(v) for v in set(a) if a.count(v) == m))) -except StopIteration: -    pass +a = [0] * 101 +while True: +    try: +        a[int(eval(input()))] += 1 +    except: +        break +maxv = max(a) +for i, v in enumerate(a): +    if maxv == v: +        print(i)