import java.util.Scanner; public class Main { static int []a; public static void main(String[] args) { Scanner scan = new Scanner(System.in); int X = scan.nextInt(); int Y = scan.nextInt(); scan.close(); if(X == 0 && Y == 0) { System.out.println("YES"); System.exit(0); } int[] dx = {-2, -2, -1, -1, 1, 1, 2, 2}; int[] dy = {-1, 1, -2, 2, -2, 2, -1, 1}; int x = 0; int y = 0; for(int i = 0; i < 8; i++) { x = dx[i]; y = dy[i]; if(x == X && y == Y) { System.out.println("YES"); System.exit(0); } for(int j = 0; j < 8; j++) { x = dx[i] + dx[j]; y = dy[i] + dy[j]; if(x == X && y == Y) { System.out.println("YES"); System.exit(0); } for(int k = 0; k < 8; k++) { x = dx[i] + dx[j] + dx[k]; y = dy[i] + dy[j] + dy[k]; if(x == X && y == Y) { System.out.println("YES"); System.exit(0); } } } } System.out.println("NO"); } }