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