import Data.Bool main = readLn >>= putStrLn . bool "No" "Yes" . (== 0) . (`mod` 180) . (+ 90)