sentence = input("Enter A Sentence : ")
old_word = input("Enter Word To Replace : ")
new_word = input("Enter New Word : ")

print(sentence.replace(old_word, new_word))
