let () = let atcoder = read_line () |> int_of_string in (if (atcoder mod 180) = 0 then print_string "No" else if (atcoder mod 90) = 0 then print_string "Yes" else print_string "No"); print_newline ();;