a = input().split() b = int(a[0]) c = int(a[1]) d = int(a[2]) if b>c and b>d: print(b) elif c>b and c>d: print(c) else: print(d)