import re;x=raw_input() exec"print x;x=re.sub('(?