#include using namespace std; int main() { char a,b; cin >> a >> b; char c; c = a; a = b; b = c; cout << a <<" " << b; return 0; }