#include using namespace std; int main(int argc, char* argv[]) { int A,B,C,D; cin>>A>>B>>C>>D; cout<