#include #include using namespace std; int main() { int n; cin>>n; vector path; int a,b,c,d; cin>>a>>b>>c>>d; if(abs(c-a)%2 == 1) { cout<<"Impossible"<= width) { count = height_step; } else { width -= height_step; count = height_step; count += width/2; if(a > c && b > d) { for(int i=0;i d) { for(int i=0;i c && b < d) { for(int i=0;i