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*m)%2==0 || n*m<=2) System.out.println("YES"); else System.out.println("NO"); } public void solve() { } }