Santa and Names

View as PDF

Submit solution

Points: 3
Time limit: 1.0s
Memory limit: 64M

Author:
Problem type

Every Christmas, Santa makes toys in his toy factory and delivers presents to all of the children on his nice list. Santa has been working for many years and plans to retire after this upcoming Christmas. You are being taken under his wing to train to become the next Santa. However, Santa says that you will only be able to do so if you successfully solve all of the challenges that he sets you.

You are to use your newfound power to improve the North Pole and make Santa's life easier. However, before you can start doing that, Santa wants you to pass a basic test to prove your skill.

Given the first and last names of a child, Santa wants you to find their initials.

Input Specification

The first line of input will contain two space-separated strings S_1 and S_2 (1 \le |S_1|,|S_2| \le 100), the child's first and last names respectively. These strings will contain only lowercase and uppercase English letters and will start with an uppercase letter.

Output Specification

Output one line containing the initials of the child in the form A.B., where A and B are the first letters of their first and last names.

Sample Input

John Smith

Sample Output

J.S.

Comments

There are no comments at the moment.