import sys input = sys.stdin.readline from collections import * N = input()[:-1] if N[0]=='-': print(0) elif len(N)<=2: print(0) else: print(N[:-2])