UVA850 Crypt Kicker II

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=10&page=show_problem&problem=791 [PDF](https://uva.onlinejudge.org/external/8/p850.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA850/adfccbc5f95a24859fb31e0e6621632953f42adc.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA850/7bbde6d90e515dc04d0f5cdff980dd1ccd72adbc.png)

Output Format

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