#include #include using namespace std; int main() { int X, Y; cin>>X>>Y; int grid[13][13] = {0}; grid[6][6] = 1; int dx[8] = {-1,1,2,2,1,-1,-2,-2}; int dy[8] = {2,2,1,-1,-2,-2,-1,1}; int nowx=6, nowy=6, n=0; queue queuex; queue queuey; int nextx, nexty; while(1){ if(grid[Y+6][X+6] == 1){ cout<<"YES"<