s = "unsophisticated"

s= input()
s= s.replace("s", "$")
s= s.replace("i", "!")
# print(s)
s= s.replace("o", "()")
s= s.replace(s[0],s[0].upper())

print(s+".")

# print(s[0].upper())



# print(s[0].upper())
# print(s[1:].replace("s", "$"))
# print(s[1:].replace("o", "()"))