#include #include #include #include using namespace std; typedef long long int lont; int main() { char A, B; cin >> A >> B; cout << B <<' '<< A << endl; }