using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoderTest { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int m = int.Parse(Console.ReadLine()); int total = n * 100 + m * 10; if((total/2)%1==0) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } } }