#include "stdafx.h"
#include
#include
using namespace std;
int main ()
{
short int x1,y1,x2,y2;
cout << "Input x1: ";</p>
cin>> x1;
cout<<endl<<"Input y1: ";</p>
cin>> y1;
cout << "Input x2: ";</p>
cin>> x2;
cout<<endl<<"Input y2: ";</p>
cin>> y2;
if ((abs(x2-x1)!=1) || (abs(y2-y1) !=2))
{cout<<"NOT";} else</p>
{cout<<"OK"<<endl;}</p>
system("PAUSE");
return 0;