#include using namespace std; int main() { int x,y,x2,y2; cin>>x>>y>>x2>>y2; int move=x>y?x:y; if(x==y&&x2==y2&&x2