fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); let r = &s[..1] == "4" || &s[..1] == "5"; println!("{}", if r { "Yes" } else { "No" }) }