import java.util.*; public class Exercise138{ public static void main (String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int c = sc.nextInt(); if(n == 1 && m > 2){ System.out.println("NO"); }else if(m == 1 && n > 2){ System.out.println("NO"); }else if(n % 2 == 1 && m % 2 == 1){ System.out.println("NO"); }else{ System.out.println("YES"); } } }