var n = readLine()! var a = "0" if n.first != "-"{ if n.removeLast() == "0"{ if n.removeLast() == "0"{ a = n } } } print(a)