|Surprise Language Round #8|
In this problem you are given a string s consisting of uppercase and lowercase Latin letters, spaces, dots and commas. Your task is to correct the formatting of this string by removing and inserting spaces, as well as changing the case of the letters.
After formatting, the resulting string must meet the following requirements:
It is guaranteed that there is at least one letter in the given string between any two punctuation marks (commas and dots are punctuation marks). There is at least one letter before the leftmost punctuation mark.
The first line contains a non-empty string s, consisting of uppercase and lowercase Latin letters, spaces, dots and commas. The length of the given string does not exceed 255. The string is guaranteed to have at least one character other than the space.
Output the corrected string which meets all the requirements described in the statement.
hello ,i AM veRy GooD.Boris
Hello, i am very good. Boris
a. b, C .
A. B, c.