fn main() { let mut x = String::new(); std::io::stdin().read_line(&mut x).ok(); let mut x: u8 = x.trim().parse().unwrap(); println!("{}", if x == 0 || x == 4 || x == 10 { "Yes" } else { "No" } ); }