#include using namespace std; int main(){ string a,b; cin >> a >> b; cout << b << " " << a << endl; }