UVA11221 Magic square palindromes.

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2162 [PDF](https://uva.onlinejudge.org/external/112/p11221.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11221/ab43c5dd8d71b9ad40332b8baad769b8c777d389.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11221/34300dd0a24c85066b1a72de5d0acb4b54fae918.png)

Output Format

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