import java.util.*; import java.math.*; import java.text.*; public class Main { private static Scanner sc = new Scanner(System.in); private static int gx; private static int gy; public static void main(String[] args) throws Exception { gx = sc.nextInt(); gy = sc.nextInt(); if (move(0, 0, 0)) { System.out.println("YES"); } else { System.out.println("NO"); } } public static boolean move(int x, int y, int c) { if (c > 3) return false; if (x == gx && y == gy) return true; int[] dx = {1, 2, 2, 1, -1, -2, -2, -1}; int[] dy = {2, 1, -1, -2, -2, -1, 1, 2}; for (int i = 0;i < 8;i++) { int nx = x + dx[i]; int ny = y + dy[i]; if (move(nx, ny, c+1)) { return true; } } return false; } }