import java.util.Scanner; public class Yuki85{ public static void main(String[] arg){ Scanner sc = new Scanner(System.in); int n,m,c; n = sc.nextInt(); m = sc.nextInt(); c = sc.nextInt(); if((n % 2 == 0 || m % 2 == 0 )&& n != 1 && m != 1){ System.out.println("YES"); }else{ System.out.println("NO"); } } }