2021-02-22 10:34:20 +00:00
|
|
|
txt = input().lower().split()
|
2021-02-17 10:10:57 +00:00
|
|
|
while txt[-1] != "###":
|
2021-02-22 10:34:20 +00:00
|
|
|
txt += input().lower().split()
|
|
|
|
m = [0]*len(txt)
|
|
|
|
for i in range(len(txt)):
|
|
|
|
m[i]=txt.count(txt[i])
|
|
|
|
print(txt[m.index(max(m))])
|