#WAP to use replace Method to replace one string with another in given string
sen=input("Enter a Sentence: ")
fw=input("FIND WHAT: ")
rw=input("REPLACE WHAT: ")
print("Modified Sentence: ",sen.replace(fw,rw))