UVA828 Deciphering Messages

Description

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

Input Format

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

Output Format

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