import strutils import sequtils import deques var xs = stdin.readLine.split.map(parseInt) z = (xs[0], xs[1]) q = initDeque[(int, int)]() ans = "NO" q.addLast((0, 0)) while true: var ite = q.popFirst var (x0, y0) = ite if x0 <= -8: ans = "NO" break if ite == z: ans = "YES" break q.addLast((x0 - 2, y0 - 1)) q.addLast((x0 - 2, y0 + 1)) q.addLast((x0 - 1, y0 - 2)) q.addLast((x0 - 1, y0 + 2)) q.addLast((x0 + 1, y0 - 2)) q.addLast((x0 + 1, y0 + 2)) q.addLast((x0 + 2, y0 - 1)) q.addLast((x0 + 2, y0 + 1)) echo ans