import re x=raw_input() exec'print x;x=re.sub("(^| )\S",r"\\1 ",x);'*9