let x = read_int ()
let _ = if x = 3 || x = 5 || x = 7 then print_endline "YES" else print_endline "NO"
let x = read_int ()
let _ = if x = 3 || x = 5 || x = 7 then print_endline "YES" else print_endline "NO"
