ss=input() a='*'+ss[0] if ord('0')<=ord(ss[0])<=ord('9') else ss[0] for s in ss[1:]: if ord('0')<=ord(s)<=ord('9'): if ord('0')<=ord(a[-1])<=ord('9'): a+=s else: a+='*'+s else: if ord('0')<=ord(a[-1])<=ord('9'): a+='*'+s else: a+=s if ord('0')<=ord(a[-1])<=ord('9'): a+='*' print(a)