UVA137 Polygons

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=3&page=show_problem&problem=73 [PDF](https://uva.onlinejudge.org/external/1/p137.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA137/f81822399202842d983c154265a3c1232a56ae05.png)

Input Format

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

Output Format

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