Directions = [(-2, -1), (-2, 1), (-1, -2), (-1, 2), (1, -2), (1, 2), (2, -1), (2, 1)] P = [(0, 0)] seen = set([(0, 0)]) for _ in range(3): NP = [] for cx, cy in P: for dx, dy in Directions: nx, ny = cx + dx, cy + dy if (nx, ny) in seen: continue seen.add((nx, ny)) NP.append((nx, ny)) P = NP x, y = map(int, input().split()) if (x, y) in seen: print("YES") else: print("NO")