#include main(){ char A,B; scanf("%c%*c%c",&A,&B); printf("%c %c\n",B,A); }