# python代码
s = input("")
# s.replace(字符1,字符2),把字符1替换为字符2
new_s = s.replace('5','*')
print(new_s)