#include<iostream>using namespace std;int main(){ int a,b;int *p1,*p2,*p3;cin>>a>>b;p1=&a,p2=&b;if(a<b){p3=p1;p1=p2;p2=p3;}cout<<*p1<<endl<<*p2<<endl;return 0;}