I came across this problem in UVa OJ. 272-Text Quotes
Well, the problem is quite trivial. But the thing is I am not able to read the input. The input is provided in
This how you can do it :
while True: try : line = input() ... except EOFError: pass