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