s=input("Enter a string:")
s1=s[1:]

s1=s1.replace(s[0:1],'$')
print(s[:1]+s1)