N=input()
if N[0]=='-' or len(N)<=2:
    print(0)
else:
    print(N[:-2])