#include int main(void) { char p1, p2; scanf("%c%c", &p1, &p2); printf("%c%c\n", p2, p1); return 0; }