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