import re f=re.sub while 1:print(f(r'^ |\b1\B','',f('(\D[a-z]*)',r' \1 1',input())))