UVA11623 Tic Tac Toe

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=78&page=show_problem&problem=2670 [PDF](https://uva.onlinejudge.org/external/116/p11623.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11623/b7f822ed228a084551a3748854edd3865673226b.png)

Input Format

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

Output Format

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