#include<stdio.h>
int main()
{
    char a,b;
    for(a<='A'<='Z')
    scanf("%c\n %c\n",&a,&b);
    printf("%c\n",a,b);
    return 0;
}