from queue import Queue X,Y = map(int, input().split()) dx = [-2, -2, -1, -1, 1, 1, 2, 2] dy = [-1, 1, -2, 2, -2, 2, -1, 1] que = Queue() que.put((0, 0, 0)) import sys while (not que.empty()): pos = que.get() if (int(pos[0]) == X and int(pos[1]) == Y): print ("YES") sys.exit(0) break if (int(pos[2]) > 2): continue for k in range(len(dx)): ny = pos[0] + dy[k] nx = pos[1] + dx[k] que.put((ny, nx, int(pos[2]) + 1)) print ("NO")