UVA11667 Income Tax Hazard II

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=78&page=show_problem&problem=2714 [PDF](https://uva.onlinejudge.org/external/116/p11667.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11667/c311a6c6f17ca8116a1adc9dfc4bf4554f34c066.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11667/2a2ff616cbd29dae4d5e953fcec6c829063eb7af.png)

Output Format

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