UVA306 Cipher

Description

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

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA306/25146eadafdb5a45e3c71dc3221b1541c0e2b9ab.png)

Output Format

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