use std::io; fn main() { let mut s = String::new(); io::stdin().read_line(&mut s).unwrap(); let code: i32 = s.trim().parse().unwrap(); println!("{}", if code >= 400 { "Yes" } else { "No" }); }