using System; public class Hello { public static void Main() { string[] line = Console.ReadLine().Trim().Split(' '); var n = int.Parse(line[0]); var m = int.Parse(line[1]); Console.WriteLine(getAns(n, m) ? "YES" : "NO"); } public static bool getAns(int n, int m) { if (n == 1 | m == 1) return true; if (n % 2 == 0 | m % 2 == 0) return true; return false; } }