AND ABOUT. Surname
Problem
Enter your first name, middle name and last name. Convert them to "initials-surname" format.
Input: The first line is a sentence. Words are separated by one space, there are no extra spaces at the beginning and end of the text.
Output: You need to output the modified string.
Examples
# |
Input |
Output |
1 |
Inav Ivanovich Ivanov |
I. I. Ivanov |