printfn "%s" (if stdin.ReadLine() = "0" then "Yes" else "No")