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