//
// Created by lan on 2024/4/11.
//
交换数值
#include <iostream>
using namespace std;
void swap(int &x, int &y) {
if (x == y) return;
int t = x;
x = y;
y = t;
}
int main() {
int x, y;
cin >> x >> y;
swap(x, y);
cout << x << " " << y << endl;
return 0;
}