UVA257 Palinwords

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=4&page=show_problem&problem=193 [PDF](https://uva.onlinejudge.org/external/2/p257.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA257/d2e673b8f86155111c9678d6bba5fe7d8ad21ff2.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA257/2b627f9de037e07e8f7e41861e8ce642eb31a697.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA257/8b7c6f790b50ed5b1e75e9cb68bb6305f47d10fe.png)