UVA12656 Almost Palindrome

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=602&page=show_problem&problem=4394 [PDF](https://uva.onlinejudge.org/external/126/p12656.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12656/847e016532c9e867bb8d31ad707c4c351f5c23f0.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12656/3ed322b2d69539439f662a5d9c1cee2bf04f5ff1.png)