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