Problem1639--字符串练习题(四)_过滤空格

1639: 字符串练习题(四)_过滤空格

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

过滤多余的空格。一个句子中也许有多个连续空格,过滤掉多余的空格,只留下一个空格。

Input

一行,一个字符串(长度不超过200),句子的头和尾都没有空格。

Output

过滤之后的句子

Sample Input Copy

Hello      world.This is    c language.

Sample Output Copy

Hello world.This is c language.

Source/Category