UVA13060 Euler Diagrams

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=866&page=show_problem&problem=4958 [PDF](https://uva.onlinejudge.org/external/130/p13060.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13060/9eac51e5ceddd49caeffadd2a1993e7a75d3dbf9.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13060/23e38e59cc232500e89f0ffb07864e5ea5d97849.png)