N=input() if N[0]=="-": print(0) elif len(N)<3: print(0) else: print(N[:-2])