|
Лимит времени 200/400/400/400 мс. Лимит памяти 65000/65000/65000/65000 Кб.
Full name in Russian language consists of surname, name and middle name (father name). But usually short form of full name is used, which is surname followed by first letter of name and first letter of middle name. Write a program that converts full name to short form.
Input
Three words separated with one space, surname, name and middle name
Output Short form, as shown in examples
Examples
| standart input | standart output |
| Ivanov Petr Vasilyevich |
Ivanov P.V. |
| Almuhametov Irek Aydarovich |
Almuhametov I.A. |
Для отправки решений необходимо выполнить вход.
|