N = gets.chop.to_i M = gets.chop.to_i if N % 2 == 0 && M % 2 == 0 puts "Yes" else if N % 2 == 0 && M % 2 == 1 puts "No" else if (M / 10) % 2 == 1 puts "Yes" else puts "No" end end end