package net.ipipip0129.yukicoder.no85; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int pos_x = scan.nextInt(); int pos_y = scan.nextInt(); if ((1 < pos_x && 1 < pos_y) && (pos_x % 2 == 0 || pos_y % 2 == 0)) { System.out.println("YES"); } else { System.out.println("NO"); } } }