UVA12183 Top Secret

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=243&page=show_problem&problem=3335 [PDF](https://uva.onlinejudge.org/external/121/p12183.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12183/848bf9f5a2b1dddfe4e4be4b0cc140dca9c405c2.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12183/238e4379f4a5933110856aa959146722f8fad3b5.png)

Output Format

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