a=[0]*100

while 1:

    try:

        n=int(eval(input()))

        a[n-1]+=1

    except:

        for i in range(100):

            if a[i]==max(a): print((i+1))

        break
a=[0]*100

while 1:

    try:a[int(input())-1]+=1

    except:break

[print(i+1)for i in range(100)if a[i]==max(a)]

a = [0] * 100
while 1:
    try:
        n = int(eval(input()))
        a[n - 1] += 1
    except:
        for i in range(100):
            if a[i] == max(a):
                print((i + 1))
        break

a = [0] * 100
while 1:
    try:
        a[int(input()) - 1] += 1
    except:
        break
[print(i + 1) for i in range(100) if a[i] == max(a)]

-        n = int(eval(input())) -        a[n - 1] += 1 +        a[int(input()) - 1] += 1 -        for i in range(100): -            if a[i] == max(a): -                print((i + 1)) +[print(i + 1) for i in range(100) if a[i] == max(a)]