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