#include<iostream> using namespace std; int main(){ int a,s,d; cin>>a>>s; if(a>s){ d=s; s=a; a=d; cout<<a<<" "<<s; } else{ cout<<a<<" "<<s; } }