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(); if(Math.max(x,y)>6 || Math.min(x,y)<-6){ System.out.println("NO"); return; } boolean [][][] b = new boolean[4][13][13]; b[0][6][6]=true; for(int k=0; k<3; k++){ for(int i=2; i<11; i++){ for(int j=2; j<11; j++){ if(b[k][i][j]){ b[k+1][i+2][j+1]=true; b[k+1][i+2][j-1]=true; b[k+1][i+1][j+2]=true; b[k+1][i+1][j-2]=true; b[k+1][i-1][j+2]=true; b[k+1][i-1][j-2]=true; b[k+1][i-2][j+1]=true; b[k+1][i-2][j-1]=true; } } } } for(int k=0; k<4; k++){ if(b[k][x+6][y+6]){ System.out.println("YES"); return; } } System.out.println("NO"); } }