import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); int M = scan.nextInt(); int C = scan.nextInt(); scan.close(); if(N == 1 || M == 1) { if(N == 1 && M == 1) { System.out.println("YES"); }else { System.out.println("NO"); } }else if(N % 2 == 1 && M % 2 == 1) { System.out.println("NO"); }else { System.out.println("YES"); } } }