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