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