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