using System; class Knight { static int gx, gy; static void Main(String[] arga) { String[] vals = Console.ReadLine().Split(' '); gx = int.Parse(vals[0]); gy = int.Parse(vals[1]); if(KightWalk(0, 0, 0)) Console.WriteLine("YES"); else Console.WriteLine("NO"); } static bool KightWalk(int x, int y, int steps) { if(steps >= 4) return false; if(x == gx && y == gy) return true; if(KightWalk(x-2, y+1, steps+1)) return true; if(KightWalk(x-2, y-1, steps+1)) return true; if(KightWalk(x+2, y+1, steps+1)) return true; if(KightWalk(x+2, y-1, steps+1)) return true; if(KightWalk(x+1, y+2, steps+1)) return true; if(KightWalk(x-1, y+2, steps+1)) return true; if(KightWalk(x+1, y-2, steps+1)) return true; if(KightWalk(x-1, y-2, steps+1)) return true; return false; } }