#include<bits/stdc++.h> using namespace std; int main() { int a,b,c,d; cin>>a>>b>>c>>d; if(a>c) { cout<<c<<" "<<d; } else if(c>a){ cout<<a<<" "<<b; } else { if(b>d) { cout<<c<<" "<<d; } else { cout<<a<<" "<<b; } } return 0; } ```language
#include<bits/stdc++.h> using namespace std; int main(){
int t1,f1,t2,f2; cin>>t1>>f1>>t2>>f2; if(t1<t2){ cout<<t1<<" "<<f1; } else if(t2<t1){ cout<<t2<<" "<<f2; } else{ if(f1<f2){ cout<<t1<<" "<<f1; } else{ cout<<t2<<" "<<f2; } } return 0;
}
Using your lizikid universal account