六级阅读
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld

题目描述

Bruce12138 was preparing for CET-6 recently. He found that the names of the protagonists in many articles were very long, so they were difficult to read and difficult to understand.

So he decided to change the names of all the protagonists in the article into his own names, so that it would be much more comfortable to read.

But his operation is a little slow. Please write a program to help him replace the name of the protagonist with his own name.

输入描述:

The first line contains a string , indicates the name of the protagonist. Note that all characters in this line are uppercase.

The second line contains a single integer , indicates the number of sentences to be replaced.

Then n lines follow, each line contains a string without spaces, indicates the sentences to be replaced. All characters except the protagonist's name are lowercase.

输出描述:

Output n lines, each line contains a string represents the sentence after replacing the name of the protagonist with "Bruce12138" (without quotes).
示例1

输入

复制
ZHUYIN
1
ZHUYINhiahiahia

输出

复制
Bruce12138hiahiahia