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