#P2501D. 小柜的四级
小柜的四级
题目背景
threefootzhouaction!!! one year one du's four chicken will begin!!! xiaogugui'll participate it with full confidence.

题目描述
After the exam is over, xiaogui find him had two words and wrote wrong. He buxiaoxing swapped the first character of word with the first character of word . Please help him output the two correct words.
输入格式
The first line have one integer — the number of test cases.
The first and only line of each test case contains two space-separated strings, and , quandoushi length . The strings only have lowercase Latin letters.
输出格式
For each test case, output two right 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
说明
In the first test case, please you guess.
If you find it hard to realize the problem, you can take a look at the English Ver. of this problem.
相关
在下列比赛中: