#include using namespace std; void printShortestPath(int n, int i_start, int j_start, int i_end, int j_end) { // Print the distance along with the sequence of moves. cout<<"Impossible"; /*vector> v; int i,j,k=0; for(j=0; j=0; ) { v[k] = make_pair(i,j); k++; i = i - 4; } } else { i = i_start + 4; for( ; i=0; ) { v[k] = make_pair(i,j); k++; i = i - 4; } } } i=i_start; j=j_start+2; for(; j=0; j=j-2) { v[k] = make_pair(i,j); k++; } pair pair1; pair1 = make_pair(i_end, j_end); int flag = 0; for(i=0; i> 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; }