#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. } int main() { int n; cin >> n; int i_start; int j_start; int i_end; int j_end; cin >> i_start >> j_start >> i_end >> j_end; if(i_start==i_end && j_start==j_end) cout<<"0\n"; else if(i_start==i_end && j_start!=j_end) { int diff = j_start-j_end; if(!(diff&1)) { if(diff<0) { cout<i_end && j_start>j_end) { int i_min=0,j_min=0; while(true) { } }*/ cout<<"Impossible\n"; } // printShortestPath(n, i_start, j_start, i_end, j_end); return 0; }