use std::io::Read; fn main() { let mut s = String::new(); std::io::stdin().read_to_string(&mut s).ok(); let v: Vec = s.split_whitespace().skip(1).flat_map(str::parse).collect(); for x in v.chunks(2) { println!( "{}", if x[0] > 4 || x[0] >= x[1] { "Yes" } else { "No" } ) } }