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