#include<iostream>
#include<iomanip>
#include<cstdio>
#include<cstdlib>
#include<ctime>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
swap(a,b);
cout<<a<<" "<<b<<endl;
return 0;
}
#include<iostream>
#include<iomanip>
#include<cstdio>
#include<cstdlib>
#include<ctime>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
swap(a,b);
cout<<a<<" "<<b<<endl;
return 0;
}