import java.util.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int[] xArr = new int[]{-2, -2, 2, 2, -1, -1, 1, 1}; int[] yArr = new int[]{-1, 1, -1, 1, -2, 2, -2, 2}; for (int i = 0; i < 8 * 8 * 8; i++) { int key = i; int xx = 0; int yy = 0; for (int j = 0; j < 3; j++) { xx += xArr[key % 8]; yy += yArr[key % 8]; key /= 8; if (xx == x && yy == y) { System.out.println("YES"); return; } } } System.out.println("NO"); } }