UVA555 Bridge Hands

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=7&page=show_problem&problem=496 [PDF](https://uva.onlinejudge.org/external/5/p555.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA555/5058ee0e37fd4d55920bc824d6b2bfc2bee73697.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA555/976164375d84dda0a09cd91ce36897cb77fa0267.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA555/0f6ba3eae24b0fa727f1bbfe8d575e4c4ab50eb2.png)