int(S) print(S.replace("treeone","forest"))