UVA10019 Funny Encryption Method

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=12&page=show_problem&problem=960 [PDF](https://uva.onlinejudge.org/external/100/p10019.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10019/ab61a55b13f53a52e7e0fb57d2b672a1a2942116.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10019/31236a58bbbccacc30d65b9bfbd294dfd53e0052.png)