package main import "fmt" func main() { var s string fmt.Scan(&s) n := len(s) if s[0] == '-' || n <= 2 { fmt.Print(0) } else { fmt.Print(s[:n-2]) } }