#include char s[32], t[32]; int main() { scanf("%s%s", s, t); printf("%c.%c.\n", s[0], t[0]); return 0; }