Matches
题目描述
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=25&page=show_problem&problem=2370
[PDF](https://uva.onlinejudge.org/external/113/p11375.pdf)
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11375/e7863d18429cbe12d198f1b7dc1d48f16adde454.png)
输入输出格式
输入格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11375/83b766ccde1a47ddbf98ca05d908921a9fbb6207.png)
输出格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11375/046a815b73fc841c5884213263815c46ca37454b.png)
输入输出样例
输入样例 #1
3
4
输出样例 #1
2
4