s = list(input())
lens = len(s)
res = s.copy()
if s[0].isdigit():
    res[0] = "*"+res[0]
for i in range(1,lens):
    if not s[i].isdigit() and s[i - 1].isdigit() or s[i].isdigit() and not s[i - 1].isdigit():
        res[i] = "*"+res[i]
    if i == lens - 1 and s[i].isdigit():
        res[i] = res[i] + "*"
print("".join(res))