// editor4
#include<stdio.h>
int main()
{
    int a,b;
    scanf("%a","%b",&a,&b);
    printf("%a","%b",b,a);
    return 0;
}