fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int A, B;
  6. cin>>A>>B;
  7. if(A>B){cout<<A<< " "<< B;}
  8. else{ cout<<B<< " "<<A;}
  9. return 0;
  10. }
Success #stdin #stdout 0s 4264KB
stdin
25
36
stdout
36 25