import java.math.*; import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int k = sc.nextInt(); if(n * m == 2){ System.out.println("YES"); return; } if(n % 2 == 0 || m % 2 == 0){ System.out.println("YES"); return; } System.out.println("NO"); } }