#1019. 查找与替换(作业本P55)

查找与替换(作业本P55)

Description

输入共3行:

第1行是待处理的文本内容

第2行是查找的单词

第3行是替换的单词

通过查找替换操作后,输出处理之后的文本内容

Format

Input

I am a nurse, and she is a nurse, too!

nurse

teacher

Output

I am a teacher, and she is a teacher, too!

Samples

I am a nurse, and she is a nurse, too!
nurse
teacher
I am a teacher, and she is a teacher, too!

Limitation

1s, 1024KiB for each test case.