word = input("The word =  ").upper()


word = word.replace("A", "4")
word = word.replace("E", "3")
word = word.replace("G", "6")
word = word.replace("I", "1")
word = word.replace("O", "0")
word = word.replace("S", "5")
word = word.replace("T", "7")

print(word)
