import java.util.Scanner; public class Main_yukicoder240 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); x = sc.nextInt(); y = sc.nextInt(); if (dfs(0, 0, 0)) { System.out.println("YES"); } else { System.out.println("NO"); } sc.close(); } private static int x; private static int y; private static int[] dx = {1, 1, 2, 2, -1, -1, -2, -2}; private static int[] dy = {2, -2, 1, -1, 2, -2, 1, -1}; private static boolean dfs(int xx, int yy, int i) { if (xx == x && yy == y) { return true; } if (i == 3) { return false; } for (int j = 0; j < dx.length; j++) { int tmpx = xx + dx[j]; int tmpy = yy + dy[j]; if (dfs(tmpx, tmpy, i + 1)) { return true; } } return false; } }