Problem

4 /9


Surname I.O.

Problem

Enter your first name, middle name and last name. Convert them to surname-initials format.

Input
The first line contains three words separated by one space (first name, patronymic, last name). Words are separated by one space, there are no extra spaces at the beginning and at the end of the text.

Imprint
You need to output the modified string.
 
Examples
# Input Output
1 Sergey Petrovich Ivanov Ivanov S.P.