a, b, c= map(int, input().split()) if a>b and c: print(a) elif b>a and c: print(b) elif c>a and b: print(c) elif a == b and c: print(a)