#include<iostream> #include<cmath> using namespace std; int main(){ int n,x,y; cin>>n>>x; if(n>x){ y=n; n=x; x=y; } cout<<n<<" "<<x; }