import java.util.Scanner; // https://yukicoder.me/problems/no/795 public class Restrictions795 { public static void main(String[] args) { // 標準入力から読み込む際に、Scan Scanner sc = new Scanner(System.in); // String 1つ分を読み込む int n = Integer.parseInt(sc.next()); int m = Integer.parseInt(sc.next()); n += m / 10; m %= 10; if (m % 2 == 0 && n % 2 == 0) { System.out.println("Yes"); } else { System.out.println("No"); } } }