import re while 1:print re.sub('htt','tt',raw_input())