import java.util.Scanner; public class Main { @SuppressWarnings("resource") public static void main(String args[]) { Scanner scanner = new Scanner(System.in); int n=scanner.nextInt(); int m=scanner.nextInt(); int c=scanner.nextInt(); if(n==1||m==1) { System.out.println("NO"); }else { System.out.println((n%2==1&&m%2==1)?"NO":"YES"); } } }