#include <cstdio>
struct Point{
int x,y;
};
bool isljhave(Point p1, Point p2){
if((p2.x==p1.x && p2.y==p1.y+1) || (p2.x==p1.x && p2.y==p1.y-1) || (p2.x==p1.x+1 && p2.y==p1.y) || (p2.x
#include <cstdio>
struct Point{
int x,y;
};
bool isljhave(Point p1, Point p2){
if((p2.x==p1.x && p2.y==p1.y+1) || (p2.x==p1.x && p2.y==p1.y-1) || (p2.x==p1.x+1 && p2.y==p1.y) || (p2.x