fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); let w: Vec<_> = s.split_whitespace().collect(); println!("{}", if w[1] == w[2] { "No" } else { "Yes" }); }