import Data.Bool main :: IO () main = do n <- readLn :: IO Int putStrLn $ bool "NO" "YES" (n /= 1)