let n = readLine stdin
echo if n[0] == '-': "0"
  elif n.len < 3: "0"
  else: n[0 .. ^3]