UVA10739 String to Palindrome

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=19&page=show_problem&problem=1680 [PDF](https://uva.onlinejudge.org/external/107/p10739.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10739/0df98127e7829a92ca54ee1ef6e77a1aa9d372d7.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10739/446efdfade67a7f079edd8166efaeb00f5e79c2f.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10739/839b97ba62dc06346f8f99cedcda3c1e5905b984.png)