UVA156 反片语 Ananagrams

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=3&page=show_problem&problem=92 [PDF](https://uva.onlinejudge.org/external/1/p156.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA156/dc6cdcbb36579acf2629ae204167ab408bdaa20f.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA156/ec895ca45b112623bf0e495312ef5805c9c5a222.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA156/46b34b0a4275c645ab84982aea6e74168eb7cdb4.png)