scientific_comp_projects/CODE/[python]kattis/trivial/greetings.py
2021-10-29 15:16:40 +02:00

8 lines
104 B
Python

inputWord = input()
many = inputWord.count('e')
now = many*2
newWord = 'h'+now*'e'+'y'
print(newWord)