st = list(input())
s = ""
for i in range(len(st)):
    if i == 0:
        if st[i].isdigit():
            s += "*"
            s += st[i]
        else:
            s += st[i]
    else:
        if not st[i - 1].isdigit() and st[i].isdigit():
            s += "*"
            s += st[i]
        elif st[i - 1].isdigit() and not st[i].isdigit():
            s += "*"
            s += st[i]
        else:
            s += st[i]

    if i == len(st) - 1 and st[i].isdigit():
        s += "*"
print(s)