Start: Mar, 27, 2015 15:30:00
2015年省赛最终选拔赛Round#3
End: Mar, 27, 2015 18:30:00
Time elapsed:
Time remaining:

Delete Comments Plus 1494

Time Limit:  1 s      Memory Limit:   32 MB
Submission:22     AC:0     Score:1

Description

We have dealt with double slash comments in The Resurrection Competition. How about dealing with all kinds of comments today?

Your task is extremely easy, delete all comments in given codes and keep the format.

Input

A common cpp source code. The characters in each line are less than 1000, there are not more than 100 lines. The invisible characters in the input are only '\t', ' ', ,'\n', '\r'.

Output

The code without comments. If a line only has comments and invisible characters, delete this line. (But if the line just has invisible characters, don’t delete it)

See more details in sample.

Samples

input
main() { // This is a comment /* This is a comment, too */ printf(“Hello World!”);//also a comment }
output
main() { printf(“Hello World!”); }