UVA10282 Babelfish

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=14&page=show_problem&problem=1223 [PDF](https://uva.onlinejudge.org/external/102/p10282.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10282/014ede9a490b32e47c6b5bf4bce8b7b2c97a297b.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10282/098a4351391cc3dd78ca9a13fe184def2ea6d852.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10282/1022e9b761d03e6172f00eca67a8dc9e7ff9f612.png)