#include<iostream>
using namespace std;
int swap(int &a, int &b) //第二类参数传递,改变形参会影响实参
{
int t;
t = a;
a = b;
b = t;
}
int main()
{
int x, y;
cin >> x >> y;
swap(x, y);
cout << x <<' ' << y << endl;
return 0;
}