#include <bits/stdc++.h> using namespace std; int main () { int x,h; cin >> x>>h; cout << h <<" " <<x; return 0; }