#P398. 【例69.1】 过滤多余的空格
【例69.1】 过滤多余的空格
Description
A sentence may contain multiple consecutive spaces. Filter out the extra spaces, leaving only one space between words.
Input Format
One line containing a string (length not exceeding ). The sentence has no spaces at the beginning or end.
Output Format
The filtered sentence.
Sample
Hello world.This is c language.Hello world.This is c language.