import java.util.*; import static java.lang.Math.*; public class ppp { 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==1)System.out.println("NO"); else if((n*m)%2==1)System.out.println("NO"); else System.out.println("YES"); }}