UVA12885 The Safe Secret

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=861&page=show_problem&problem=4750 [PDF](https://uva.onlinejudge.org/external/128/p12885.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12885/81550733083882aceb88f6c4de04b96c5cad667e.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12885/4d16d3c5de956a21213d953b065342e7a9aaf823.png)