UVA795 Sandorf's Cipher

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=9&page=show_problem&problem=736 [PDF](https://uva.onlinejudge.org/external/7/p795.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA795/798597c2b7a5a8217aff9ebfff6de0d5c737cf7f.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA795/0bcf81e2d98022007b1ce22dd0f5c0a1bbfb0aeb.png)