s = list(map(str, input().strip())) for i in range(len(s)): if s[i] == '5': s[i] = '*' print("".join(s))