#include using namespace std; int main() { int n,str,stc,endr,endc,r,c; bool flag = false; cin>>n>>str>>stc>>endr>>endc; r = abs(str-endr); c = abs(stc-endc); int x = r/2; int y = (c - x)/2; if(r%2) flag = true; else if((c-r/2)%2) flag = true; else if(c!=0) { cout<