fork download
#include <iostream>
using namespace std;

int main() {
	int A, B;
	cin>>A>>B;
	if(A>B){cout<<A<< " "<< B;}
	else{ cout<<B<< " "<<A;}
	return 0;
}
Success #stdin #stdout 0s 4264KB
stdin
25
36
stdout
36 25