#t192. 单词替换

单词替换

Word Replacement

Problem Description

Read a string ending with a newline (length ≤200\le 200). The string consists of several words separated by single spaces; all words are case-sensitive. Now replace one of the words with another word and output the resulting string.

Input Format

The input consists of 33 lines:

  • The first line is the string ss containing multiple words;
  • The second line is the word aa to be replaced (length ≤100\le 100);
  • The third line is the word bb that aa will be replaced with (length ≤200\le 200).

Neither ss, aa, nor bb has any leading or trailing spaces.

Output Format

Output a single line: the string after replacing every occurrence of word aa in ss with word bb.

Sample Input

You want someone to help you
You
I

Sample Output

I want someone to help you