a, b = 2.times.map{gets.to_i} puts [a+b/10,b%10].map(&:even?).all?? "Yes" : "No"