UVA353 Pesky Palindromes

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=5&page=show_problem&problem=289 [PDF](https://uva.onlinejudge.org/external/3/p353.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA353/f4f15c18ef5245263ef3eb3c794678b0770233e4.png)

Input Format

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

Output Format

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