import java.util.Scanner; public class Main_yukicoder85 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int h = sc.nextInt(); int w = sc.nextInt(); @SuppressWarnings("unused") int c = sc.nextInt(); int b = Math.max(h, w); int s = Math.min(h, w); if (s == 1 && b > 2) { System.out.println("NO"); } else if (s == 1 && b <= 2) { System.out.println("YES"); } else if (s % 2 == 1 && b % 2 == 1) { System.out.println("NO"); } else { System.out.println("YES"); } sc.close(); } }