import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(), M = sc.nextInt(), C = sc.nextInt(); sc.close(); if (N * M % 2 == 1) System.out.print("NO"); else if (N == 1 || M == 1) { if (N == 2 || M == 2) System.out.print("YES"); else System.out.print("NO"); } else System.out.print("YES"); } }