n = gets.to_i m = gets.to_i n += m / 10 m %= 10 if n % 2 == 0 && m % 2 == 0 puts 'Yes' else puts 'No' end