using System; public class Hello { static void Main() { string[] line = Console.ReadLine().Trim().Split(' '); var a = int.Parse(line[0]); var b = int.Parse(line[1]); Console.WriteLine((a == b | (a == 2 && b == 4)) ? "Yes" : "No"); } }