while True:
try:
a=list(map(int,input().split(' ')))
b=max(a)
print(b)
except:
break;