UVA415 Sunrise

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=6&page=show_problem&problem=356 [PDF](https://uva.onlinejudge.org/external/4/p415.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA415/e40ef98a26def901d80cc5e8d6d647d79f1029f2.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA415/03308d946750dd572df365f77d6d9f0e19d7a6cc.png)