#P2501D. 小柜的四级
小柜的四级
Background
Delta Force Go!!! Annual CET-4 will soon take place!! XG'll take it with full confidence.

Description
After the exam is over, XG found that he wrote two words and wrongly. He unexpectedly swapped the first character of Word and the first character of Word . Please help him correct the two words.
Input
The first line contains — the number of test cases.
The first and only line of each test case contains two space-separated strings, and , both of length . The strings only contain lowercase Latin letters.
Output
For each test case, output two correct words and .
6
sit bet
dat cog
dbc aef
owq qwo
kfc kfc
zzz zzz
bit set
cat dog
abc def
qwq owo
kfc kfc
zzz zzz
Note
In the first test case, swap the first character 's' in the first word "sit", and the first character 'b' in the second word "bet", we'll have "bit" and "set" in result.
相关
在下列比赛中: