import re
def func(s):
    str1 = re.sub('[0-9]+','*\g<0>*',s)
    print(str1)
while 1:
    try:
        func(input())
    except:
        break