str=input("Enter string:")
str1=str[1:]
str1=str1.replace(str[0:1],'$')
print(str[:1]+str1)