UVA10532 Combination! Once Again

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=17&page=show_problem&problem=1473 [PDF](https://uva.onlinejudge.org/external/105/p10532.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10532/583b316166af284092ee62cb62be1098c34e063f.png)

Input Format

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

Output Format

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