407215: GYM102697 186 Radio Filtration

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

186. Radio Filtrationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output
This problem is worth 15 points.

You're listening to the radio, and you have a "voice to text" machine that transcribes the radio's words. The machine transcribes some of the static of the radio, however, which it writes as certain random characters. The machine writes an underscore character before and after any static that it transcribes. Your task is to filter out the static and print the original message.

For example, if the machine transcribed "hello wor_xxxxxxxhsfdjsdkkdsfds_ld coderams", the filtered out text would be "hello world coderams".

Input

The only line of input contains a line of text, following the rules above.

Output

Output a single line: the text, after filtering out the static, as described above.

ExamplesInput
hellowor_*%^&&^%&^&%*_ldcoder_%^%^_ams
Output
helloworldcoderams
Input
hello_***_hello
Output
hellohello
Input
_^*&^^&**&^*^&*&^*^&_code ram_^_s^^^
Output
code rams^^^

加入题单

上一题 下一题 算法标签: