#include using namespace std; void printShortestPath(int n, int i_start, int j_start, int i_end, int j_end) { int x,j,z,i; if(i_starti_end&&j_start!=j_end) { x=i_start-i_end; x=x/2; j=j_start-j_end-x; j=j/2; z=x+j; if(z%2==0){ cout<i_end){ x=i_start-i_end; x=x/2; if(x%2==0) {cout<j_end){ x=j_start-j_end; x=x/2; if(x%2==0) {cout<> n; int i_start; int j_start; int i_end; int j_end; cin >> i_start >> j_start >> i_end >> j_end; printShortestPath(n, i_start, j_start, i_end, j_end); return 0; }