const MOD: usize = 1_000000000 + 7; fn main() { let mut sc = Scanner::new(); let _: usize = sc.next(); let m: usize = sc.next(); let ans = if m >= 3 { "YES" } else { "NO" }; println!("{}", ans); } struct Scanner { reader: std::io::Stdin, tokens: std::collections::VecDeque, } impl Scanner { fn new() -> Self { Scanner { reader: std::io::stdin(), tokens: std::collections::VecDeque::new(), } } fn next_string(&mut self) -> String { if self.tokens.is_empty() { let mut s = String::new(); loop { self.reader.read_line(&mut s).ok(); let s = s.trim(); if s.len() != 0 { for it in s.split_whitespace() { self.tokens.push_back(it.into()) } break; } } } self.tokens.pop_front().unwrap() } fn next(&mut self) -> T where T: std::str::FromStr + std::marker::Copy, ::Err: std::fmt::Debug { self.next_string().parse().unwrap() } #[allow(dead_code)] fn next_i32(&mut self) -> i32 { self.next::() } #[allow(dead_code)] fn next_i64(&mut self) -> i64 { self.next::() } #[allow(dead_code)] fn next_u64(&mut self) -> u64 { self.next::() } #[allow(dead_code)] fn next_usize(&mut self) -> usize { self.next::() } #[allow(dead_code)] fn next_isize(&mut self) -> isize { self.next::() } }