*Remove spaces
Problem
The input is one line of text (maximum 255 characters).
You need to output the same line, removing all paired spaces (that is, if somewhere in the line there are 2 or more spaces in a row, then only one of them should be left in this place).
Examples
# |
Input |
Output |
1 |
My name is Vasya... |
My name is Vasya... |
Запрещенные операторы: replace
; split
; join