import re import io import sys input_stream = io.TextIOWrapper(sys.stdin.buffer, encoding='utf-8') s = input_stream.readlines() s = " ".join(s) pc = '(//.*|/*[dD]*?*/)' mc = re.findall(pc, s) for v in mc: vs = v.split(" ") for l in vs: print (l.lstrip())