a = io.read() if a:sub(1, 1) == "-" then print(0) elseif #a <= 2 then print(0) else print(a:sub(1, #a - 2)) end