Your friend George Martin has completed the manuscript for part 7 of "A Song of Ice and Fire". But when he re-read it, he realized that he had mixed up the continent's name. Now, in his novel, instead of "Westeros" appeared "Misteros". We urgently need to replace all the names in the text.
This problem uses the
bufio and os packages to read a string with white spaces or tabs from the input. To solve this task, you don't need to know how the bufio/os packages work; your only objective is to use the correct function from the strings package that replaces substrings.