I=input print(I()[0]+'.'+I()[0]+'.')