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