print(input().replace('treeone','forest'))