using System; namespace y { class Program { static void Main(string[] args) { var ss = Console.ReadLine().Split(); var n = int.Parse(ss[0]); var m = int.Parse(ss[1]); var c = int.Parse(ss[2]); if (n == 1 || m == 1) Console.WriteLine("NO"); else if (n % 2 == 1 && m % 2 == 1) Console.WriteLine("NO"); else Console.WriteLine("YES"); } } }