goal = map(int, raw_input().split()) goal = tuple(goal) moves = [(-2, -1), (-2, 1), (-1, -2), (-1, 2), (1, -2), (1, 2), (2, -1), (2, 1) ] def dfs_maybe((x, y), n): if (x, y) == goal: return True elif n == 3: return False for i in xrange(8): if dfs_maybe((x + moves[i][0], y + moves[i][1]), n+1): return True return False print 'YES' if dfs_maybe((0, 0), 0) else 'NO'