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