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