using System; using System.Collections.Generic; using System.Linq; public class Program { public static void Main() { string[] d = Console.ReadLine().Split(' '); int N = int.Parse(d[0]); int M = int.Parse(d[1]); string re = ""; if (N == 1 || M == 1) { if (N == 2 || M == 2) { re = "YES"; } else { re = "NO"; } } else { re = N % 2 == 1 && M % 2 == 1 ? "NO" : "YES"; } Console.WriteLine(re); } }