#include <iostream> #include <vector> #include <string.h> #include<stdio.h> using namespace std; int main(){ char x,y; cin >> x >> y; cout << y << " " << x; }