while 1:s=map(int,raw_input().split());s.sort();print(s.pop()