UVA10857 Easter Eggs

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=20&page=show_problem&problem=1798 [PDF](https://uva.onlinejudge.org/external/108/p10857.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10857/36ccfef2a79c7f2ec8bd60d85141e1ea7951a5d7.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10857/773db13987fedb6fa42141d88d50af651b70a452.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10857/9c0a601087442bb1c81fe78b3c25cc27ea5f74e3.png)