fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); let n: Vec = s.split_whitespace().flat_map(str::parse).collect(); println!( "{}", if n[1] < 25 || n[1] > n[0] * 29 { "No" } else { "Yes" } ) }