#include using namespace std; typedef long long ll; int main() { int v,u,d,w; cin>>v>>u>>d>>w; cout<