fork download
  1. #include<stdio.h>
  2. #include<stdlib.h>
  3. #include<string.h>
  4.  
  5.  
  6. // for qsort
  7. /*
  8. int compare(int *t, int *s) {
  9.   return *t - *s;
  10. }
  11. */
  12.  
  13. int check(int *data) {
  14. int i, j;
  15. int test;
  16. for(i = 0; i < 4; ++i) {
  17. test = 1;
  18. for(j = 0; j < 4; ++j) {
  19. if(!data[i*4+j]) {
  20. test = 0;
  21. break;
  22. }
  23. }
  24. if(test) return 1;
  25. }
  26. for(i = 0; i < 4; ++i) {
  27. test = 1;
  28. for(j = 0; j < 4; ++j) {
  29. if(!data[j*4+i]) {
  30. test = 0;
  31. break;
  32. }
  33. }
  34. if(test) return 1;
  35. }
  36.  
  37. test = 1;
  38. for(i = 0; i < 4; ++i) {
  39. if(!data[i*4+i]) {
  40. test = 0;
  41. break;
  42. }
  43. }
  44. if(test) return 1;
  45.  
  46. for(i = 0; i < 4; ++i) {
  47. test = 1;
  48. if(!data[i*4+(3-i)]) {
  49. test = 0;
  50. break;
  51. }
  52. }
  53.  
  54. return test;
  55. }
  56.  
  57.  
  58. int main(void) {
  59. int num;
  60. int i, j, k;
  61. char buf[6];
  62. int X[4][4];
  63. int O[4][4];
  64. int emp;
  65. int result;
  66.  
  67. scanf("%d", &num);
  68. for(i = 1; i <= num; ++i) {
  69. gets(buf);
  70. emp = 0; result = 0;
  71. for(j = 0; j < 4; ++j) {
  72. gets(buf);
  73. for(k = 0; k < 4; ++k) {
  74. if(buf[k] == 'X') {
  75. X[j][k] = 1;
  76. O[j][k] = 0;
  77. } else if(buf[k] == 'O') {
  78. X[j][k] = 0;
  79. O[j][k] = 1;
  80. } else if(buf[k] == 'T') {
  81. X[j][k] = 1;
  82. O[j][k] = 1;
  83. } else {
  84. X[j][k] = 0;
  85. O[j][k] = 0;
  86. emp = 1;
  87. }
  88. }
  89. }
  90.  
  91. printf("Case #%d: ", i);
  92. if(check((int*)X)) {
  93. printf("X won\n");
  94. } else if(check((int*)O)) {
  95. printf("O won\n");
  96. } else if(emp) {
  97. printf("Game has not completed\n");
  98. }
  99. else {
  100. printf("Draw\n");
  101. }
  102. }
  103.  
  104. return 0;
  105. }
  106.  
Success #stdin #stdout 0.01s 5256KB
stdin
1000
XXXT
....
OO..
....

XOXT
XXOO
OXOX
XXOO

XOX.
OX..
....
....

OOXX
OXXX
OX.T
O..O

XXXO
..O.
.O..
T...

XXXO
..OX
.O..
O...

O..X
OXXO
OT..
XXOX

OXXO
OXOX
XXOX
OTXO

OOOT
..X.
....
XX..

XXXX
O.OO
...X
O...

XX..
XX.O
OXOO
.OX.

XOOO
XOOX
XXOT
OXXX

.O.T
..X.
..X.
OO.X

OXOO
XOXX
XXOX
OOXO

.OXT
..OX
XO..
OX..

XXXX
.X.O
O.XO
OOOX

.OOT
OXXX
XXO.
XOOX

X..O
XO.X
XO..
XO..

XOOX
.XOX
XOXO
OOXX

OOXX
O.X.
OXOO
XX.X

.O.X
...X
O..T
.XOX

..TX
.XO.
.O..
X...

..XO
XTXX
O.X.
OOXO

OOOX
...X
TXXX
.OOX

OOX.
..T.
O.O.
XXXX

.OOX
OOOX
..OX
XXXX

.X.X
..X.
OXOO
X..O

..O.
.X.T
.X.X
O..O

..X.
O.X.
O.X.
TOX.

..X.
..X.
....
XTOO

XOXO
X..X
O..O
XOX.

O.OX
XOXO
XXXO
X.O.

.T..
O...
.OO.
XXXX

XTXX
X.OO
XO.O
X..O

OTXX
XXOX
XOOO
OXOX

XOXX
XOOO
O.XT
OOXX

....
....
OX..
...T

XOOX
OXOX
XOXX
OOXO

OOOO
..X.
....
XX.X

XXOO
.X.O
.XXO
OXOX

..X.
O..X
.O..
T..X

XXOX
O.OX
X.O.
..O.

XOXX
XOOX
XXOO
OOXT

..XX
....
O.X.
.O.O

.O..
X...
....
...T

.XOX
....
....
....

XXXX
O..X
.OOX
OOOX

X.OX
T.X.
.O.O
OXOX

..OO
XXOO
XXXX
X.OO

.O.X
OOXO
.XO.
XTXX

OXOO
OXTX
XXXO
XXOO

XXOO
.OOX
TXOX
XOOX

XOO.
T..X
.X.X
O...

XX..
OX.O
OTX.
OXOX

X.O.
OXO.
..O.
X.TX

OXXO
OOTX
OXXO
XXOX

O..X
OO.X
XXTX
.OOX

.XXO
X.OX
XOXO
OXOO

XXXX
OO.X
O.OX
.OOX

XXOT
XOOO
XOOX
OX.X

OOXO
XXXO
OTXO
XXOX

X.OO
OX.O
TXXX
O..X

OOOO
TOXX
OXX.
OXXX

OXOX
OOOX
OXXX
OXXO

OOOO
XOXO
XXXO
XOXX

T.XX
..O.
XOO.
OXOX

X..X
O...
.O..
....

....
X..O
....
....

..O.
O.O.
....
XXXX

OXXX
O...
O...
T...

.X..
XOXO
X.X.
O..O

XOOO
.XOO
..XO
XXXX

.OOX
.O.X
O.OX
XTXX

.O..
....
.T..
X..X

.X.X
....
.X..
OOTO

.X.T
....
....
....

XOO.
OXOO
TXXX
...X

OX..
X.XO
.XX.
OOXO

X..O
XXXX
OOX.
OOOX

O.OX
OOX.
.X.O
X.XX

XXOX
OXOO
XOXO
TXXO

O.XO
....
TX.X
OO.X

.XXX
.OXO
OO.X
XOOX

.OO.
X...
....
X...

....
..TX
....
.O..

....
....
..T.
...X

....
.O..
.X..
....

OXXO
O..O
OTXO
XXXX

X.OX
OXOX
..XT
O.OX

XOOX
TXOO
XXOO
XXXO

XXOO
XOOX
XOXX
OOOX

OTOX
XOOX
XXXX
OOXO

OOOX
XXXX
OXO.
X.O.

OO.X
.XXO
.XXX
OTOO

....
....
T...
..X.

.O.O
XXOX
.O..
TOXX

XXOO
XOOX
OOXX
OXXO

.OXX
OOXO
OXX.
X.XO

OXXX
OOXO
XXXO
TXOO

..OX
.OX.
.X..
X..O

...O
..OX
XO..
T..X

OOOO
XOXX
OXOX
XOXX

OOOT
X...
X...
X...

O..X
OOXX
OX.X
XOOX

XOOO
XXOO
XXXO
OTXX

.O..
.TX.
.X..
O.X.

XXO.
OXO.
.TXO
.XOX

XOTX
..X.
OOOO
XOXX

X.OO
.XOX
XOXO
X.OX

XO.X
XO..
.O.O
.T.X

O.XO
O.XO
XOXX
.X.O

O.TX
.OXO
.XX.
XOXO

....
....
....
OX.X

.XO.
.X..
X.O.
XO.O

X.OX
OTOO
XX..
OXOX

X...
.X..
..T.
OO.X

..X.
....
OT..
....

XXXO
OOXO
XXOX
OOTX

.OXX
XOOO
.O..
XOXX

.O..
....
O...
XX..

OXXO
XXXX
OO..
...O

XXTX
.XOO
OXO.
OX..

T.XO
..O.
OX.O
XX..

O.OO
XXXX
O...
OXX.

XOXO
TOOO
OXXX
.XOX

OOXX
O.XX
OXOO
X.X.

XOOX
XOXO
OOXX
OOXX

OOOX
OXXO
OOXX
XOXX

XOXO
XXXO
XXOX
OOOO

...O
.X.X
.OXT
.O..

XXOO
XOOT
XXXO
OOXX

OXOO
OXXX
OXXX
OOOX

X..X
.OTO
.XOO
XX..

XO.O
XXOX
.XO.
..XO

X...
OX.O
XXXT
OOOX

XOOX
OOOO
OXXX
OXXX

.O.X
O.X.
.X..
X.O.

..O.
....
....
..XX

XOOX
OOXO
TXOX
XOXX

XOOX
OXXX
T.XO
OXO.

XO..
XXXX
TOOX
OOXO

OXOO
XTXX
XXXO
OOXO

XXXO
.O.T
.O.X
.X.O

OOOX
O.XX
.XOX
XO.X

....
....
....
.X..

O.XO
..X.
TXXX
OOXO

...O
....
XOOX
TX..

OOOO
OXXX
XXOO
OXXX

XOOX
OTOX
OXXX
XOXO

XOXO
TOXX
OXXO
XXOO

XO.O
XOO.
X..O
XTXX

TXXX
.OXO
..XO
OOX.

X.OX
..O.
.T..
...X

O.T.
....
....
.XXO

XXOO
..OT
XXO.
XXOO

X...
.X..
..XO
.OOX

....
....
....
.OX.

.OOX
.OOX
XXXX
.OOX

XTOO
XOOO
OXXX
XXOX

OXX.
XO..
..T.
...O

....
O.TX
...X
.OX.

X.XT
.O..
.OO.
XX.O

.X..
.XXO
OOOO
XX..

XXOO
XOOO
XOXO
.XXX

.O.O
....
....
XXTX

X..X
OOOO
X..X
XOOX

XXX.
.OX.
O.X.
OOXO

OOXO
.OXX
..O.
X.XT

O.OO
X.X.
XOTO
XXXO

XO.X
.T..
....
....

.X..
X...
X.OX
OO..

.X..
....
T...
....

XOOO
XXXX
XOOT
XOXO

XOOO
OXXX
XOTX
..OX

OXOX
XOXX
XOOX
O.OX

O.OX
O.XX
.XOT
XO.X

OOOO
XOXX
XOXO
OXXX

.X.X
XOOX
OXXT
XOOO

.X.X
OTOO
.X..
XO..

....
..O.
.X.O
.XX.

O.OX
XX.T
XXOO
..O.

XTOO
.O.X
XO..
XOX.

....
.O..
..O.
XT.X

XOXX
OXOX
XOXO
OOXO

X..O
.X..
..X.
.O.T

XOX.
...O
OXO.
...X

..XO
.OXO
..X.
..X.

.X.X
XX.O
..XO
OO..

OOOX
XOXO
OXXO
XTXX

XXO.
.XO.
OTX.
OXOX

...O
OO..
X..X
...X

....
....
..XO
....

OO.X
...X
.O.X
.T.X

OXOO
XOXX
XXOX
OOXO

....
..O.
...T
X...

TXOX
O.OX
O.OX
XX..

..OX
OOT.
.XX.
X...

XOO.
.XXO
..X.
..OX

OO.X
XOO.
XXOX
X..O

OXTX
.XXO
.XOO
XXOO

.XXX
OOX.
XTOO
X.O.

O.X.
XOOO
.XT.
XX.O

OOOO
OXX.
XX..
X.OX

XOXX
.O.O
.O.O
XOXX

....
X...
T...
..O.

XOXX
.O.O
.O.O
XOXX

OXXX
OOOO
XOXX
XXOO

OXOX
XOXO
XTOO
XXOX

O..X
OOXO
OXO.
XXXX

XOXO
OXXX
OOOX
XXTO

.OXX
OOX.
.X.O
XXO.

....
....
.X..
....

OXXX
OOOX
XOXT
XOXO

O.X.
.OXO
XXXX
OOXO

OXXX
.X..
XO..
OOTO

O.T.
XO..
..XO
X..X

XOXO
OTXX
XOOX
XXOO

XO.O
.O..
.OXX
XOX.

XXTX
..OX
OOOX
.O.X

..XO
..XT
OXX.
O.XO

XXXX
.XOO
OXOO
.X.O

X..X
X...
O...
.OO.

OX..
XXOX
..OO
X...

OXOO
XOOX
XOXO
X..X

.OO.
...O
....
XXXX

XXOX
O.TO
.XX.
X.OO

....
...O
...X
XO..

XX..
XXOO
OXTO
.X.O

XXOO
OTOX
XXOO
XOXX

XXX.
XOOO
XOOO
XX..

..X.
OXO.
.X..
O..T

XOXO
XTOO
XXOX
X..O

...T
X.O.
.OXX
OO.X

OOTX
OOXO
XOOX
XXXX

XO.X
OX.X
OOXX
XOOO

XXXX
...O
...O
O...

XX..
..OX
XXOO
OTO.

.X.O
OXO.
.XOO
XXTX

X.X.
..X.
XOO.
.TOO

OXXO
.X..
X.OO
..OX

XXOX
.OOX
OOXX
XOOX

XOXX
XOXO
O..O
TXXO

..O.
XOX.
....
.X.O

XXXX
OOOX
OO.X
..OX

OTOX
OXX.
OX..
XX.O

.XXO
X.T.
OX..
.XOO

...X
OXOO
TX.X
OX..

OXXX
.OXO
XOOO
XXOT

O...
T...
X.X.
....

O.XO
X.OX
.OXX
OX.O

XO.X
XOOX
..TX
O...

XTXO
XXOX
OXOO
XOXO

OXX.
OXOX
OXO.
XTOX

OXTO
.OXX
OOXX
X.XO

..O.
O...
.TX.
XXOX

.OOX
.O.X
O.XX
T..X

.O.O
X.X.
OOX.
.X..

...O
..OX
.TXX
O...

OX..
XXXX
OX.O
OXOO

O..X
.OX.
....
T...

..OT
XXXX
....
OO..

XX.X
..X.
OO..
..OO

XXOT
OXOX
O.XO
XXOO

X...
....
T...
....

OXOO
XXXO
OXXO
XOOX

XXOX
OOXX
XOOT
OXOX

XXXO
XXOX
TOXO
XOOO

XOOT
XXXX
OXXO
OXOO

OOOX
XXOX
OTXO
XOXX

XXXX
.T.O
OO..
.OX.

....
.X..
....
.T..

TOXX
XXOO
OXOX
OXOX

OXXX
OOOX
OXXT
XXOO

XOXX
OXOO
OOXO
XTXX

XOOX
XOXO
XX.O
XXOO

...X
X..O
....
.OOX

....
.T..
....
XO..

XXOX
OOXX
XOXO
OOTX

XTXO
.OXO
OOXX
OXOX

XXXX
.XO.
OXO.
OXOO

XXTX
OOX.
OXO.
XO..

TOOX
XXXO
OOXO
XOXX

XXOX
OXOO
OOXO
XXXO

XX..
...O
.O..
...X

.OOX
...X
..TX
..OX

XOOO
.XOO
..XO
XXXX

.OX.
.O.O
XXO.
X.T.

....
....
....
.X..

XXXO
OXOO
OXXX
OOTX

OXOX
OXXO
OOXO
XXXT

O...
XO.X
..T.
X..O

XTO.
XO..
XO..
X.OX

OX.O
.X..
TX..
..XO

OOOX
X.TX
X.XX
OOOX

OO.X
..OX
...X
.T.X

XOOX
XOX.
XX.O
XOO.

.OXX
O.TX
OXXO
XXOO

...X
..XO
.X.O
XO..

OXOX
TXXX
XOXO
OOOX

X.OX
.XO.
..X.
O.OX

X..O
.X.O
..XO
...X

X...
.OOO
.X.O
OXXX

XX.O
...O
XO..
XOX.

OX.X
OOOX
OXOO
XX.X

XOOX
.OXO
OOXX
.OXX

O.OX
...O
XX.O
..XX

OXXO
OOOX
XTXO
XXOX

XOOO
XXXO
X.XO
XOOX

OOX.
XOXO
XOXX
XO.O

XOOX
OOOX
OXXX
X.XO

.OXO
O.TO
.XXO
.XXX

OOXO
XOTX
XXOX
XOOX

O.X.
..OX
O...
XOXT

OOOX
X.TX
X.XX
OOOX

.XXX
...O
TOO.
XOOX

O.XX
O...
O.XX
O...

OXOX
X.XO
..OO
XOX.

XXXO
X.OX
O..X
OOTO

OXXX
OOXX
XOOO
XOXO

XXXX
O.OX
XOXO
OOXO

OXXO
O.OO
OTXX
XXX.

O.OX
X.O.
XXOX
O.OX

X..O
OX.O
.OXO
XTXX

X.O.
XX.X
O.TO
.O.X

X.OX
XTXX
.OO.
...O

....
O...
...T
X...

XXTO
OXOX
XXOO
OXXO

XXOO
OXOX
XTXO
O.XO

.O..
O..T
X.OX
.XXO

X...
XO.O
....
.X..

.O..
OOX.
.XXX
OXXO

O...
OXX.
O.X.
OX..

XOO.
..TO
XXO.
.XOX

..O.
.XO.
X.O.
.X..

...X
..TO
OX..
XX.O

XOOX
XOOX
XXOT
OOXX

X.OO
XO..
XTXX
XOO.

....
..X.
..OT
...X

...X
X.OX
OOOO
..XX

T...
....
....
.X..

OOOO
T...
..XX
.XX.

X...
T...
XOO.
X...

XXOO
OXO.
.XXO
TX..

XO.O
XOXX
XOTX
OO..

OXOO
XXXX
OTXO
XXOO

OXXO
XXXO
OXOX
OXTO

XXTO
OOXO
OOXX
XXOX

XXXX
OO.X
XO..
.OO.

OOTX
OXXX
XXOX
OOOX

OXXO
OOXX
OX..
TX.O

XTXX
X...
XOOO
X.OO

XO..
O..O
XTX.
OXX.

X..O
TXO.
XOXO
X.OX

...X
..X.
OT.O
X...

XX.X
XXOO
.XOX
OOOO

OXXO
XXXO
OXXO
XOO.

XO.X
.OO.
O...
XXTX

XXOO
XOOO
TXXO
XXOX

XXXO
X..X
OOOX
XOOO

XXOO
.X..
XOOX
XOXO

XXXO
XTOX
OXOX
OOXO

XXOO
XXXO
OXXO
XOOO

TOOX
OXOO
XXOO
XXXX

XOXX
XXXO
XOOX
OOOO

XOOX
XXOO
OXTO
XOXX

OOOO
..X.
.XX.
X...

X...
.X..
.OXO
O..X

O.OO
...X
O.XX
.X..

O..X
.O.X
X.OX
...O

XXOO
XO.T
OXXO
XXOO

XOO.
XXXX
XOOO
XO..

...X
XOXO
OX..
XO..

XXXX
XOOX
XOO.
.OO.

O.XO
..O.
.O.X
.XX.

XXXO
OOOO
XXOX
OXOX

.XOX
.XXO
OX..
XTOO

OOOX
X.TX
X.XX
OOOX

X..O
.O..
X...
X.O.

OO.X
X..O
X...
XOX.

XOOX
XXOX
OXOO
XXOO

O.O.
X...
X..X
....

O...
.T..
XXOX
...O

....
..OX
.T..
....

...X
OXX.
.X..
XOOO

OXXX
O...
O...
T...

OXOX
.TXO
..OX
..XO

OOO.
XXXX
X.O.
.XO.

OX.O
..OX
XOXX
O.XO

OTXX
OXOO
XXOO
XXXO

OX.X
OO.X
XOOO
X.XT

XXXX
OX.O
OX.O
OX.O

OOOX
O..X
OO.X
XXXX

OO.X
OO.X
XTXX
..OX

OX.X
..OO
XXXX
O.O.

OOOO
...X
XX.O
XX..

OOOX
XXOO
OXOX
OXXX

.XOO
XXOX
XOX.
OOOX

....
..X.
....
....

O...
.XX.
OOXO
.X.X

XOO.
XXOO
TOX.
X..X

OXO.
XXTX
OX.O
OX..

O.XX
.O.X
XXO.
..OO

OXXX
....
OO.O
...X

OOXO
X..X
.OXO
XTX.

XXXO
XOXX
XOOX
OOOO

X..X
X.XO
XOOO
XOXO

O..O
.OX.
XOO.
XXXX

X.OO
XO.O
X.OO
XXXX

X.XO
XXOO
OOXO
XOXX

XXXX
X.OO
XO.O
XO.O

XOOT
XOXX
OXXO
XXOO

XOOX
XOOX
OXOO
XOXX

XOXX
.O.O
.O.O
XOXX

XO..
X.O.
XOOO
XXTX

OX.X
.OXX
XOOO
OXX.

O.XX
TOOO
OXO.
.XXX

..X.
OO.O
.OOX
XX.X

XOOX
XXX.
OOX.
OOXO

XO..
X.O.
XOX.
XOT.

X.XX
XOOO
XOOX
.TXO

OOOO
T...
XX..
.XX.

X.XO
.OOX
XOX.
O...

XO.O
XTOO
X.XO
X..X

XOO.
TX..
X.XO
XOOX

O.XX
OOXX
XXTO
OOOX

.OX.
TXXX
OOX.
OOX.

.XO.
O...
...X
..XT

X..X
OOOO
X..X
XOOX

XXXX
OOXO
XTOO
XOXO

OXOX
XXOX
OXOX
OOXO

.XXO
O.OX
XOXO
OXXO

OO.X
OXXX
XXOO
XXOO

..OT
..X.
.XOX
....

....
.X..
.XO.
O..X

XOXX
XOXT
XOXO
OXOO

X.OX
XOXO
XX.O
X.OO

XXXX
XOOX
XOO.
.OO.

X..O
...T
....
....

OX..
OXXO
..TO
X.OX

OX.T
..XX
..OO
XO..

XX.X
OXOO
OXXO
X.TO

.OXX
..XO
.XOO
XO.X

OOXT
.OX.
OO..
XXXX

..X.
....
....
...T

X...
...T
..X.
...O

OO..
TOOX
X...
XXXO

X..O
..O.
.T.X
O..X

OOXX
OT.O
XOXX
OOXX

.OO.
...O
.X..
XTXX

....
..T.
.X.O
....

.XO.
X.XX
XTOO
OO.X

O...
.T.X
XOOX
..XO

....
.OX.
....
..X.

.OOX
TXO.
XO.X
..X.

OOOX
OXTO
XXXO
XXOX

OT.O
....
.X.X
....

O...
...X
....
....

X.OO
OOXO
XOX.
XXOX

XTXX
XOOO
X.O.
X.O.

X...
.O..
..O.
X...

XOXX
OXOX
...X
.OO.

X.XO
O..O
X..T
O.X.

XOOO
.X..
OOXO
XXXX

OXTX
OOXX
XOOO
XXOX

XOOX
OXOO
XOXX
XXOO

OXXX
.O.O
O.O.
.XXT

XXOX
XOOX
OTOX
OXXO

.X.O
XXOX
OO..
O..X

XXOO
XXOX
OOOX
OXOX

..O.
..OX
O...
XX..

OOX.
...X
XOX.
OX.O

XOTX
XXOO
OOXX
XXOO

OOXX
OXOX
XOOO
XXOX

O.O.
X.XO
T.X.
OXX.

O...
....
..X.
.X..

T..O
XXX.
XOO.
X.O.

XO.X
XOX.
XXOO
XO.O

XO.X
X.XO
TXOO
X..O

XOOX
OOOX
XXXO
XXOO

OO..
X.XT
..OX
..XO

OOXO
XOOX
XXXX
TOXO

OOO.
XXXX
X.OX
..O.

XXOO
OXXX
XOOO
TXOX

..OX
.OXX
O.X.
XO.O

OXOO
OX..
XXXX
.XOO

X..X
O...
OO..
X..X

X.O.
OXO.
..X.
..XT

XXOO
XOOO
OXXO
XXXO

...X
..TO
.XO.
X...

XO.O
X.OO
XTX.
O..X

OOX.
.OXX
XXT.
.O.O

....
....
T..X
....

XOOX
XOXX
XOOX
OOXO

OXO.
XXOO
OX.X
OXX.

..O.
X...
.TXO
...X

OXOX
OTX.
.X..
XXOO

X.OX
O.XO
XX.O
XOOX

.OXO
OOX.
O.XO
XXXX

X..X
OOOO
X..X
XOOX

....
....
....
....

OXOT
XXOX
XOXX
.O.O

XX.O
OOO.
OXXX
.TOX

X.XX
OOO.
....
XOXO

O.OX
OOOX
OXOX
XXXX

X...
..X.
OOOX
....

XXOX
OTXO
XXXO
OOXO

.T..
...O
X...
OX..

XXOX
OOXO
OOOX
XXOX

.X..
....
....
T...

XTXO
OXOX
OXXX
OOXO

.XOO
OXXX
OOX.
OXOX

.OX.
.XOO
TX..
O.X.

XXOO
.OXX
.XOO
XOXO

OXOO
XOXX
OOXO
XXOX

XXX.
.OX.
O.X.
OOXO

O..X
XX.X
XOOO
OXXO

OXX.
XOXX
..O.
O..O

OXXX
OOOX
XOOX
OXXO

.O..
X...
.X..
O...

X.OO
XO.O
X.OO
XXXX

XXT.
OOOO
XXOO
OXXX

.O.X
..T.
OXXO
X.XO

..TO
..X.
....
....

....
T...
O...
XX..

..OX
OX.X
...O
XO..

XO.X
XOXO
OOXO
XTXO

O.OX
XXO.
.TOX
OX.X

..XX
OOO.
.OXT
.XOX

XOO.
XOXO
XXXX
XOOO

.O..
X.XO
OXX.
....

..XO
.XOX
XT.O
O...

X.OO
.XO.
.OXO
XTXX

X.O.
XXOX
XOO.
OXOT

OXOO
OXXX
XXOT
XOOX

.X.O
OXXX
OOXX
X.OO

OOOX
X.TX
X.XX
OOOX

.TXX
..XX
OXXO
OOOO

OXXX
O...
O...
T...

XXOX
.OXO
XXOX
OOOX

X...
....
.O..
...X

T..X
.O..
XXO.
O.XO

.OXO
XOXO
X.XX
OOXT

.X..
....
....
....

XXO.
OXOO
.XXO
OX.X

XOXO
XXOO
XOXX
OXOO

.OXO
..OO
XXXT
.XOX

XXTX
.XXX
OOXO
.OOO

XOXX
OX.O
OOXX
OXOX

.O.X
.O.X
.OX.
OX..

.O.X
..XX
.XXO
OOOT

OXOO
XO.X
XOOX
XXOX

.XO.
OOOO
..XT
X.XX

....
.X..
....
....

O.OX
.OXO
XX.X
XO..

..XX
O..X
..X.
TOOO

X.OX
...O
OXXT
OOX.

XOXO
XOXX
OXXX
OOOO

...X
....
T...
....

..X.
X..T
X...
O.OO

XXOX
X.OX
OXOT
XOOO

OO..
OXOX
XTXX
XOOX

XXOX
OOOX
O.OX
XOX.

.X.X
OOOO
TXXO
X.XO

..XX
...O
..XX
.OO.

XTO.
OXOO
.XOX
XXXO

OOOO
OXXO
XXOX
XOXX

XTXX
OXO.
O.X.
O.OX

...X
OOX.
OX.X
X..O

OX.X
OOXX
XOT.
O.XO

....
....
....
...X

.XO.
XXXX
OXOO
OXTO

X...
..XT
....
O..O

XOO.
XXXO
OOTX
X.OX

.X.O
XXXX
TOX.
OO.O

OO.X
XTXX
O..X
OO.X

O...
..X.
....
...X

X..X
OOOO
X..X
XOOX

XXO.
OXXO
OOOX
XOXX

OO.X
.O..
X.O.
X.XT

OOOX
XXXO
XOOO
OXXX

...T
X...
....
....

...O
.XO.
.OX.
O.XX

X..O
XX.T
...O
...O

XOXX
XOOO
OOXX
XXOO

XXXX
O.OX
XOOX
OOOX

XOOO
OOXO
XOXX
XXOX

.OXO
TXXX
O.X.
O.XO

OOXX
.XXO
XXOO
XXOO

OTXX
O...
O.X.
O.X.

.X..
O...
.O.X
.X.O

.O.X
.X.O
X.OO
.XOX

...X
.OT.
.XO.
X...

OOXO
XXOX
OXXO
OXXO

OOXO
.O.X
.X..
XT..

XOOX
O.TO
OXX.
.OXX

XOOO
OOXX
XOXO
XOXX

.X.O
X...
X..X
TOOO

OOXX
OXOX
XOXX
XOOT

OOXO
XOXX
OOOX
XXXO

TO..
XXO.
X.XX
OOOX

..X.
OOOO
XX.X
XO..

XXXO
XOOO
XXOO
XTOX

...X
O.OX
.X..
...T

....
....
..O.
..X.

XXXT
OOXO
OOXX
OXOX

OOXO
XXXO
O.OX
XOXX

OOOX
O.OX
XXXX
..OX

OXX.
X.XT
XOOO
XOO.

..X.
..X.
O...
....

O.X.
..X.
OOX.
..X.

X.OO
X.OO
XXTX
XO..

OXXX
OXOO
XXOO
XOOX

.X..
X...
TXX.
OOOO

.TXX
OOX.
.O..
.OX.

XXXX
XOOX
XOO.
.OO.

XXXX
OT..
....
O.O.

XXOX
OTXO
OXOX
XXOO

OOXX
.XOX
.OXO
XOXO

XXOO
XXXT
OOXO
OOXX

XTXX
X.OO
X.OO
X.O.

OXXO
XXOX
O.OX
OOTX

O...
O.XX
T.X.
O...

XX..
....
T...
..OO

XOXX
.O.O
.O.O
XOXX

TX.O
.OOO
XXXO
XX.O

.OX.
....
X...
X..O

O..X
XTXX
.X.O
XOOO

X.X.
O.XO
O.XO
X.XO

OOXO
XXOX
OOXX
OOXX

..X.
...X
.O..
O...

OXXO
O..O
OTXO
XXXX

OXXO
OXXX
OTX.
OO..

.OOX
.OXX
OX.X
XOOX

...O
.XOX
XX..
TOXO

X...
.X..
X.TX
OOOO

X..O
XXXX
.OXO
OOOX

...X
O...
.X.X
OXO.

X..O
.XX.
OXXO
.O.T

XXXT
OXOX
OXOX
OXOO

X.T.
....
....
....

OXOX
XOXX
O.XO
O.X.

OXXO
.XOX
OTO.
O.XX

XOXO
XOOX
XOOO
X.XX

X..X
XOXO
XXOO
XOO.

XOXX
.O.O
.O.O
XOXX

XXTX
X.OO
XO.O
X.O.

XO.O
.XO.
..X.
O.XX

XXXX
XOXO
..OO
...O

X.XO
XOOX
.OOX
OXOX

X.OX
XOOX
X.O.
..OT

XXX.
XOOO
XOOO
XX..

OXXX
XXXO
OOOX
OTXO

XOO.
..OO
OXX.
XOXX

XXXO
OOXX
OXXT
OXOO

.X..
..OX
..O.
....

OXOX
.XTO
OX.O
OXXX

O.O.
...O
.XX.
XX.O

XO..
.T.O
.OXX
..XO

OOOX
OXTX
XXOO
OXXX

XOXO
XOOO
.XXO
XOXT

XTXX
..XO
.OXO
OOX.

XOO.
X...
X.O.
X...

XOXO
OOX.
O.XT
XX.O

XXOO
.OO.
XX..
..OX

XOX.
OXTO
..X.
OOXX

XXOX
OOOO
OXOX
OXXX

O.X.
....
...X
....

XX.X
XOXO
X.OO
O.XO

O.O.
O...
OXXX
XX..

XXXX
OO..
....
...O

XOOO
OOOX
XOXX
OXXX

O.XO
XXXX
.O.O
O..X

....
....
.X..
O...

..OX
O..X
.O.X
...X

X.OO
XXTX
O.X.
O.OX

OOOX
.XXX
OXO.
XO.X

.OXX
OOXO
.XT.
XOX.

XO..
TOOX
XXXO
O.X.

XOOO
X..O
XO..
XXTX

....
..T.
.X..
....

XX.T
.XO.
XO..
O..O

.XOO
OXXO
.O..
.X.X

OXO.
XX..
XO.O
XXOO

OXX.
....
.OXO
.O.X

.OXO
OOXX
TXXX
XOO.

XXX.
X...
OOTO
..O.

OXOX
XOXT
XOOX
XOOX

XXTO
XOOX
XOXO
XXOO

OXOX
OXX.
OX.O
XX.O

OOOT
.X.X
..XX
.O..

XXX.
XOOO
OOOX
.XOX

X.XO
.XOO
X.O.
XO..

OO.X
..XO
OXO.
XTXX

XOXX
.O.O
.O.O
XOXX

.OX.
OXXX
XOO.
XOOX

XX.X
....
..X.
OOOO

XOOO
XO..
XOXX
.O.X

X.O.
.X..
..X.
.O.T

.XOO
OXOO
OX..
XXXX

XXXO
XOOX
OOOX
OOXX

XXOO
XXOX
XOXO
OXOO

OOXX
XXOX
OOXO
XXOO

XX.O
OX.X
...O
...O

..X.
....
..XX
OTOO

O..X
..X.
.XO.
X..O

XO.X
O..X
OO.X
TXOX

XXOO
OX.O
OXXO
.X.X

....
X...
....
....

.OOO
X.XX
...X
OX.T

TXOX
XXXO
OXXO
OXOO

XXOO
XTOO
OXXX
XOOX

O...
.O.X
.XO.
.XXO

O..X
O.X.
O.X.
OT.X

O.OX
TXXX
.OOO
.X.X

O...
XX..
..O.
.T..

OOX.
OO..
X..O
XXXX

OOXX
XT.X
OOOO
XXXO

.OO.
OO..
XT.X
XOXX

TO..
OXXX
O...
O..X

XOOO
OX..
XOTX
X.XO

XOXO
XOXO
OXOX
XOOX

OOOO
O..X
XXOT
XXX.

.OOX
.OX.
.XOO
XTXX

OOOX
.XXO
OX.O
X.XX

....
..X.
....
..O.

.O.X
O.OX
O.OX
XTXX

..XT
.O..
....
XXO.

X...
....
....
....

XOXO
XXOO
.O.O
.XXX

XOOX
T.X.
XX.O
X.OO

.O.X
.TX.
XO..
.O..

OXOO
OXXO
XOXX
XOOX

OXXO
XXXO
OOOO
XXXO

.XXX
OOOX
XO.X
OTOX

XXXX
OO.X
O.OX
.OOX

O.OX
OOXO
OXXX
..XX

O...
.X..
....
....

X.TX
.XO.
..O.
..O.

.X.X
XOO.
O.O.
XXXO

OXXO
OOXX
XOXX
OTOX

OXO.
XXXX
OX.O
OXO.

....
....
..X.
....

....
...O
.T..
...X

.OXO
T...
XO..
X..X

XOX.
OXTO
..X.
OOXX

X.OO
XXXX
OOXO
O..X

XX.X
TXOX
OXOO
.OOX

.OOX
OXOX
OOXO
XXXX

XOOX
XXOO
XOXO
XO.X

....
OX.X
.X..
...O

X..X
OOOO
X..X
XOOX

OXXX
O...
O...
T...

O.X.
..X.
..X.
T..O

OX.O
X.OX
.O.X
TXO.

XOOO
OXTO
XOOX
XXXX

XXXO
..OO
XOO.
OX.X

XXXO
.OOO
.TX.
OXOX

.O..
OOOO
XX.X
XX..

..XO
XOOX
OX..
..X.

OXXO
XXOX
OOXX
OXOO

XXOX
XO.O
OTOO
XOXX

X...
.X.O
XOX.
.OOX

OXOX
.O.X
XOO.
X.XO

.OOX
OOOX
XXXX
O..X

OOXO
OXOO
OXXX
XXXO

XOXO
X.OX
.OXX
OXOO

OXTO
XXXO
XOXO
OXOX

OXOX
XOXO
TOXO
OXXX

..X.
O.XO
..XT
.O..

XXXT
XOXO
OXOX
OOOX

XOX.
.XX.
OOXO
O.TX

..X.
OXX.
T..O
OX..

OXOX
TXXX
XXOO
OOOX

XO.X
.XXO
XOOO
OXTX

OOOX
TXXX
...X
OO.X

XXXO
XXOX
OOXX
OOOO

.X.O
..OX
.OXX
O...

OXXO
XO.X
..OX
...O

XXOO
.XOX
.OX.
OXO.

..O.
....
....
TXX.

XXXX
....
...O
..OO

XO.X
OX.X
.OXT
O.OX

...X
....
....
....

OXX.
O.X.
OXXO
O...

OOXX
X.OX
OXOX
OXXO

.XX.
.O.X
OOXX
.OO.

TXXO
OX.X
OXXX
.OOO

.XO.
....
.TX.
....

XOO.
.XO.
OOXO
XXXX

O.XT
X.OX
XO.X
O..O

.O..
..XX
OOOO
XX.X

XOXO
O.O.
XOXX
OXXO

OOO.
XXXX
OXXO
.X.O

.O.O
XXXX
.OX.
O...

.T..
...X
....
.O..

OXXO
OOXX
XOXO
XXOO

...O
.XXO
.XO.
XOX.

OOX.
XX..
O.O.
XXXO

OXXO
TXOO
OOXO
XXXX

OOX.
XOOX
XOTX
OOXX

OXXO
XXOO
.OOX
XXO.

OXXO
OOXX
X.T.
O.X.

XXXO
XXXO
OOOX
OOXO

OXXX
..XO
OXO.
XXOO

..O.
.X..
...X
XOXO

O.XO
.OXO
OOX.
XXXX

T...
.X..
.OXO
...X

OXXX
XXXO
OOXO
XTOO

X.OO
X.OO
XO..
XXTX

O..O
OXX.
OXXO
OTXX

....
..OT
X...
.X.O

XXXX
OOOX
.OOX
OOXX

OOX.
XXXX
O.XO
O.XO

XXOO
.X.O
.TXO
OX.X

....
.XX.
O...
..T.

.OOX
O.XX
OXOX
X.OX

OOOX
X.TX
X.XX
OOOX

....
....
....
XOX.

.O.X
..X.
XXOO
T.OX

XOOX
O.XT
X.OX
OXXO

OXXO
OOXT
XXOX
OXOX

X.XO
OXO.
XO.O
OX.X

O.O.
.X.T
....
..X.

O.OO
.O..
TXXO
XXXX

OOXX
XXXO
XOOO
XOXT

XOXO
XOOX
OXOX
OXTX

X.X.
X.O.
.OXO
XO..

XOOX
OXOX
OXOX
XXOO

TX.X
.XOX
OOX.
OO.X

OXOO
XOXO
XXOX
OXOX

..X.
XO.O
...X
OO.X

OXXX
OOOX
XXOO
XOXO

OOOX
X.TX
X.XX
OOOX

TOXO
XOXO
.XXO
.OXX

....
XT..
....
....

O.OX
X..T
....
O.X.

XX.O
...O
XT.O
.X.O

O.OX
.OOX
OO.X
XXXX

XXXX
XOOX
XOO.
.OO.

..XO
OXO.
XOX.
O..X

XOOX
O.XX
OXXO
OO.X

.T..
XXXX
OO.O
....

OXXX
XOOT
XOXO
OXXO

.T.O
....
....
...X

XTXX
O.X.
OXO.
XO.O

OOXX
OOXX
TOXX
XO.O

XXO.
.XOO
.TXO
.XOX

....
OX..
.XXO
..XO

OOXO
O.XX
OXXX
XOT.

X..O
XO..
X.X.
XO.O

OXOX
O.XO
OXOX
XXXO

X.OO
XXOO
T.XO
X..X

....
OO.O
XXXX
X.O.

..OX
OOOX
.OOX
XXXX

X.XO
O.O.
X.OX
.X.O

OXOO
OOXX
OXXX
XXOO

.OX.
OTXX
..XO
....

OXOO
XTOX
XOOO
X.XX

X.O.
.XOX
.XXO
OO.X

.O.O
...X
O...
XX..

OOXO
OT.X
X.OX
.XXO

OOX.
XOOX
XOOX
.XXO

XXOO
.OO.
.OXX
OX.X

XXXO
.OOO
X.OX
XXOO

XXOO
OXOX
TXXO
OOXX

.XOO
.XT.
OOOX
XXOX

X..X
OXOX
..XX
OOOO

XXXX
.OO.
O.XX
OOOX

OO.X
...O
.XOO
XXXX

X..X
.X..
.OXO
OO.X

XXXX
OOOX
O..X
.OOX

XXXX
XXOO
OXTO
OOOX

OOXO
.X.O
XXOX
.TXO

.OX.
XOXT
XO..
...O

OXOO
XXXX
OX..
OX.O

...X
....
.O..
....

OOTO
.X.O
XX.X
....

XOOX
XXXO
OOXO
XOXO

.OXO
OXOX
OXOX
XXOX

OX.X
OXTO
X.O.
O..X

XXXO
OXOO
OXXO
XO.X

OX..
OO.X
OOX.
X.X.

O.XX
X...
OX..
O..O

X...
....
....
....

OOOX
X.TX
X.XX
OOOX

.X..
.X..
..OO
.X..

.OXO
XOXO
XOOX
XOX.

X.O.
OOT.
...O
XXXX

X.O.
XXTX
XOO.
XO.O

OXXX
XOX.
OXOO
OX.O

OXXO
OOOO
X.XX
XXO.

....
....
T...
...X

OO.X
OO.X
XXXX
O.OX

OOXX
O...
.T.O
X.X.

...O
X..X
O...
.OX.

XOX.
XXOO
O...
O.TX

.O..
..O.
XX.X
.XO.

XXXX
TXOO
OXOO
OXXO

....
..X.
....
....

X..X
OOOO
X..X
XOOX

.XOX
...X
OO.X
.OXO

OXOO
OXXO
XTOX
X..X

TXO.
OOXX
OXO.
X.XO

O.XX
.O..
O.OX
.XXO

OOOO
XO.X
.X.X
..X.

OX.O
OXO.
XXTX
.XO.

XOXX
OXOX
OXOX
TOOX

.OXO
O.XO
.OXO
XXXX

XXXX
XOOX
XOO.
.OO.

OXOO
XXXX
.OOO
X..X

OXXX
XXOX
OOOX
OXOO

...O
X..O
..XT
..XO

...X
O.XO
.XO.
X...

.XOX
X.T.
.XOO
OXO.

XOXX
OOOO
OXOX
XXOX

OXXX
O...
O...
T...

OXXX
XOX.
O.OO
XOXO

OOOO
XTX.
X..X
..XO

..O.
XX.O
T.XO
O.X.

O...
XX..
XO.X
OX.O

O.OX
OXXT
XOO.
X.OX

....
....
....
.TX.

OOOO
T.O.
XX.X
..XX

OOOO
.XXX
.OXO
.XX.

OXXO
O..O
OTXO
XXXX

OXXO
XXXX
.OOX
OOOX

T...
O.X.
O.XO
O.XX

O..O
X.XX
O.X.
..TO

OXOO
XOXO
XXXO
XXOO

OXTO
OOXX
XXXO
XOOX

.TXO
X.OX
X...
O...

OXXX
O...
O...
T...

.OXO
X.OX
XO..
OX..

..OO
X.XO
..XO
XXTO

...X
OXOX
.XOO
XXOO

OXOO
XXXO
.OXX
XOOT

XXOX
O..X
OTOO
.OXX

O.OX
OTX.
XXOX
.O.X

XTOO
X.OO
X.X.
X.XO

OOOX
X.TX
X.XX
OOOX

O..X
O.XX
OXOX
XOOX

..XO
XXO.
XXO.
O..O

.OO.
.O.O
XXXX
X...

.O.X
OOXX
OXX.
...O

.XXO
XXTO
XOOX
OXOO

XOXT
XOOO
OOOX
XXXX

XOOX
OXXX
OOOO
OXXX

OOOO
TX.X
OOXX
XXOX

OXXO
OXOX
XOOX
OOXX

OO.X
O.XO
XXXX
XO.O

....
....
....
..XT

OOT.
XOXX
XOOX
XOOX

.XO.
.X..
XT.O
....

.XXO
..T.
.O..
O.X.

.XTO
X..O
X..O
OXXO

OOXX
OOXX
XOOX
OXXO

OXXX
OOOO
XOXO
OXXX

XOOX
.TOX
XOOO
XXOX

OO.X
.OXX
XXOX
OOXO

X.XO
OOXX
OO.X
O..X

XOXX
..OO
OOX.
XO.X

..T.
.XXX
..O.
XOO.

O.X.
.OXO
O.X.
X.XT

XOXX
OXXO
..XO
.OT.

..XX
.OX.
.O..
OXOT

XOO.
X...
T...
X...

X...
....
....
..OX

.XOO
XOX.
OTOO
XX.X

.X..
....
....
....

.XO.
..O.
..T.
...X

.XO.
.X..
OT..
.X..

.XOX
O.OX
OOXO
XXXT

..X.
.OTO
XOX.
X.XO

.TOO
XOXX
OXOO
XXXO

....
..X.
....
...T

....
.X..
T...
....

XXO.
XOOX
OTOO
XXOX

....
...O
..X.
....

TXXX
OOXO
..XO
O.X.

X.XO
X.OO
.XTX
.OXO

XOXX
.O.O
.O.O
XOXX

.TOX
XOX.
.OO.
.OXX

....
....
.TX.
....

OXXX
.OXO
XOXX
XOOO

XXXO
OOOX
OOXX
XOXO

OXOO
XXXX
OOOX
OXXT

O..O
..X.
..T.
...X

OXXX
OOOX
OOXT
XXOX

XXXO
XOXO
OOXO
OTXX

.X..
.XTX
XO.O
OXO.

X.T.
.OXO
..X.
..O.

TO.X
XXXO
O.XO
OXOX

O.OX
.OXO
XXXX
XOO.

OX..
.XOO
.XXO
.X..

..XX
OXO.
XXOO
O...

TOXX
XXOX
XOOO
XXOO

....
....
O...
XX..

.XOO
TX..
.X.X
.XOO

..X.
O.OX
.XOO
.XOX

XTXX
O.OX
.OOX
..OX

stdout
Case #1: X won
Case #2: Draw
Case #3: Game has not completed
Case #4: O won
Case #5: O won
Case #6: O won
Case #7: X won
Case #8: X won
Case #9: O won
Case #10: X won
Case #11: Game has not completed
Case #12: Draw
Case #13: Game has not completed
Case #14: O won
Case #15: O won
Case #16: X won
Case #17: X won
Case #18: X won
Case #19: X won
Case #20: X won
Case #21: X won
Case #22: Game has not completed
Case #23: X won
Case #24: X won
Case #25: X won
Case #26: X won
Case #27: X won
Case #28: Game has not completed
Case #29: X won
Case #30: Game has not completed
Case #31: Game has not completed
Case #32: X won
Case #33: X won
Case #34: X won
Case #35: Draw
Case #36: Game has not completed
Case #37: Game has not completed
Case #38: Draw
Case #39: O won
Case #40: X won
Case #41: Game has not completed
Case #42: O won
Case #43: Draw
Case #44: Game has not completed
Case #45: Game has not completed
Case #46: Game has not completed
Case #47: X won
Case #48: Game has not completed
Case #49: X won
Case #50: X won
Case #51: X won
Case #52: O won
Case #53: Game has not completed
Case #54: X won
Case #55: O won
Case #56: Draw
Case #57: X won
Case #58: O won
Case #59: X won
Case #60: O won
Case #61: Draw
Case #62: X won
Case #63: O won
Case #64: O won
Case #65: O won
Case #66: Game has not completed
Case #67: Game has not completed
Case #68: Game has not completed
Case #69: X won
Case #70: O won
Case #71: Game has not completed
Case #72: X won
Case #73: X won
Case #74: Game has not completed
Case #75: O won
Case #76: Game has not completed
Case #77: X won
Case #78: Game has not completed
Case #79: X won
Case #80: X won
Case #81: Draw
Case #82: Game has not completed
Case #83: Game has not completed
Case #84: Game has not completed
Case #85: Game has not completed
Case #86: Game has not completed
Case #87: Game has not completed
Case #88: X won
Case #89: X won
Case #90: X won
Case #91: O won
Case #92: X won
Case #93: X won
Case #94: O won
Case #95: Game has not completed
Case #96: O won
Case #97: O won
Case #98: X won
Case #99: X won
Case #100: X won
Case #101: O won
Case #102: O won
Case #103: O won
Case #104: X won
Case #105: X won
Case #106: Game has not completed
Case #107: X won
Case #108: O won
Case #109: X won
Case #110: O won
Case #111: Game has not completed
Case #112: X won
Case #113: Game has not completed
Case #114: Game has not completed
Case #115: O won
Case #116: X won
Case #117: Game has not completed
Case #118: Draw
Case #119: O won
Case #120: Game has not completed
Case #121: X won
Case #122: X won
Case #123: Game has not completed
Case #124: X won
Case #125: O won
Case #126: X won
Case #127: O won
Case #128: Draw
Case #129: O won
Case #130: Game has not completed
Case #131: Draw
Case #132: O won
Case #133: X won
Case #134: Game has not completed
Case #135: X won
Case #136: O won
Case #137: X won
Case #138: Game has not completed
Case #139: X won
Case #140: Game has not completed
Case #141: X won
Case #142: X won
Case #143: Game has not completed
Case #144: X won
Case #145: Game has not completed
Case #146: X won
Case #147: Game has not completed
Case #148: O won
Case #149: Draw
Case #150: Draw
Case #151: X won
Case #152: X won
Case #153: Game has not completed
Case #154: Game has not completed
Case #155: O won
Case #156: X won
Case #157: Game has not completed
Case #158: X won
Case #159: Draw
Case #160: O won
Case #161: Game has not completed
Case #162: Game has not completed
Case #163: O won
Case #164: Game has not completed
Case #165: X won
Case #166: O won
Case #167: X won
Case #168: O won
Case #169: Game has not completed
Case #170: Game has not completed
Case #171: Game has not completed
Case #172: Game has not completed
Case #173: X won
Case #174: X won
Case #175: X won
Case #176: X won
Case #177: O won
Case #178: Game has not completed
Case #179: O won
Case #180: Game has not completed
Case #181: Game has not completed
Case #182: O won
Case #183: Game has not completed
Case #184: Draw
Case #185: X won
Case #186: Game has not completed
Case #187: X won
Case #188: Game has not completed
Case #189: X won
Case #190: X won
Case #191: Game has not completed
Case #192: Game has not completed
Case #193: X won
Case #194: O won
Case #195: Game has not completed
Case #196: Game has not completed
Case #197: X won
Case #198: X won
Case #199: O won
Case #200: X won
Case #201: X won
Case #202: O won
Case #203: O won
Case #204: O won
Case #205: Game has not completed
Case #206: O won
Case #207: O won
Case #208: X won
Case #209: X won
Case #210: Draw
Case #211: X won
Case #212: Game has not completed
Case #213: Draw
Case #214: X won
Case #215: O won
Case #216: Game has not completed
Case #217: Draw
Case #218: O won
Case #219: X won
Case #220: X won
Case #221: X won
Case #222: Game has not completed
Case #223: Game has not completed
Case #224: Game has not completed
Case #225: X won
Case #226: X won
Case #227: Game has not completed
Case #228: X won
Case #229: Draw
Case #230: X won
Case #231: Game has not completed
Case #232: X won
Case #233: O won
Case #234: X won
Case #235: Game has not completed
Case #236: X won
Case #237: Game has not completed
Case #238: X won
Case #239: Game has not completed
Case #240: Game has not completed
Case #241: X won
Case #242: Game has not completed
Case #243: Game has not completed
Case #244: X won
Case #245: X won
Case #246: Game has not completed
Case #247: Game has not completed
Case #248: O won
Case #249: Game has not completed
Case #250: O won
Case #251: Game has not completed
Case #252: Draw
Case #253: X won
Case #254: X won
Case #255: Game has not completed
Case #256: X won
Case #257: Game has not completed
Case #258: O won
Case #259: X won
Case #260: Game has not completed
Case #261: X won
Case #262: Game has not completed
Case #263: Game has not completed
Case #264: Game has not completed
Case #265: Draw
Case #266: X won
Case #267: X won
Case #268: X won
Case #269: Draw
Case #270: X won
Case #271: Game has not completed
Case #272: Draw
Case #273: Draw
Case #274: X won
Case #275: X won
Case #276: Game has not completed
Case #277: Game has not completed
Case #278: Draw
Case #279: Game has not completed
Case #280: X won
Case #281: X won
Case #282: X won
Case #283: Draw
Case #284: Game has not completed
Case #285: X won
Case #286: X won
Case #287: Game has not completed
Case #288: Game has not completed
Case #289: X won
Case #290: X won
Case #291: O won
Case #292: X won
Case #293: Game has not completed
Case #294: X won
Case #295: X won
Case #296: X won
Case #297: X won
Case #298: X won
Case #299: X won
Case #300: X won
Case #301: X won
Case #302: Game has not completed
Case #303: Game has not completed
Case #304: Game has not completed
Case #305: O won
Case #306: Game has not completed
Case #307: Draw
Case #308: X won
Case #309: O won
Case #310: Game has not completed
Case #311: X won
Case #312: Draw
Case #313: Game has not completed
Case #314: X won
Case #315: Game has not completed
Case #316: O won
Case #317: Game has not completed
Case #318: O won
Case #319: O won
Case #320: X won
Case #321: Game has not completed
Case #322: O won
Case #323: X won
Case #324: X won
Case #325: X won
Case #326: Game has not completed
Case #327: X won
Case #328: O won
Case #329: Game has not completed
Case #330: Game has not completed
Case #331: Game has not completed
Case #332: O won
Case #333: O won
Case #334: Game has not completed
Case #335: X won
Case #336: X won
Case #337: X won
Case #338: Game has not completed
Case #339: O won
Case #340: Game has not completed
Case #341: O won
Case #342: X won
Case #343: X won
Case #344: O won
Case #345: X won
Case #346: X won
Case #347: Draw
Case #348: X won
Case #349: X won
Case #350: O won
Case #351: X won
Case #352: Game has not completed
Case #353: X won
Case #354: X won
Case #355: O won
Case #356: Game has not completed
Case #357: X won
Case #358: X won
Case #359: Game has not completed
Case #360: Game has not completed
Case #361: Draw
Case #362: O won
Case #363: X won
Case #364: O won
Case #365: X won
Case #366: O won
Case #367: X won
Case #368: Game has not completed
Case #369: O won
Case #370: O won
Case #371: X won
Case #372: X won
Case #373: X won
Case #374: Game has not completed
Case #375: O won
Case #376: X won
Case #377: X won
Case #378: Game has not completed
Case #379: Game has not completed
Case #380: O won
Case #381: Game has not completed
Case #382: O won
Case #383: Game has not completed
Case #384: X won
Case #385: O won
Case #386: O won
Case #387: X won
Case #388: O won
Case #389: X won
Case #390: O won
Case #391: X won
Case #392: X won
Case #393: X won
Case #394: X won
Case #395: O won
Case #396: Draw
Case #397: O won
Case #398: Game has not completed
Case #399: Game has not completed
Case #400: X won
Case #401: X won
Case #402: O won
Case #403: Game has not completed
Case #404: Game has not completed
Case #405: O won
Case #406: X won
Case #407: X won
Case #408: X won
Case #409: X won
Case #410: X won
Case #411: X won
Case #412: Draw
Case #413: O won
Case #414: X won
Case #415: Game has not completed
Case #416: O won
Case #417: Game has not completed
Case #418: Game has not completed
Case #419: X won
Case #420: Game has not completed
Case #421: O won
Case #422: O won
Case #423: X won
Case #424: X won
Case #425: Game has not completed
Case #426: X won
Case #427: Game has not completed
Case #428: O won
Case #429: X won
Case #430: Draw
Case #431: O won
Case #432: X won
Case #433: Game has not completed
Case #434: Game has not completed
Case #435: Draw
Case #436: X won
Case #437: X won
Case #438: Game has not completed
Case #439: Game has not completed
Case #440: Game has not completed
Case #441: Game has not completed
Case #442: X won
Case #443: X won
Case #444: Game has not completed
Case #445: Game has not completed
Case #446: Game has not completed
Case #447: O won
Case #448: O won
Case #449: X won
Case #450: Game has not completed
Case #451: Game has not completed
Case #452: O won
Case #453: Game has not completed
Case #454: Game has not completed
Case #455: X won
Case #456: Game has not completed
Case #457: Game has not completed
Case #458: Game has not completed
Case #459: X won
Case #460: Game has not completed
Case #461: Game has not completed
Case #462: Game has not completed
Case #463: X won
Case #464: Draw
Case #465: Draw
Case #466: O won
Case #467: Draw
Case #468: O won
Case #469: O won
Case #470: Game has not completed
Case #471: Game has not completed
Case #472: Draw
Case #473: Draw
Case #474: Game has not completed
Case #475: Game has not completed
Case #476: X won
Case #477: X won
Case #478: X won
Case #479: Draw
Case #480: Game has not completed
Case #481: X won
Case #482: X won
Case #483: Draw
Case #484: Game has not completed
Case #485: X won
Case #486: Game has not completed
Case #487: X won
Case #488: O won
Case #489: X won
Case #490: O won
Case #491: O won
Case #492: Game has not completed
Case #493: O won
Case #494: X won
Case #495: Game has not completed
Case #496: X won
Case #497: X won
Case #498: X won
Case #499: O won
Case #500: Game has not completed
Case #501: Game has not completed
Case #502: Game has not completed
Case #503: Game has not completed
Case #504: X won
Case #505: Game has not completed
Case #506: Draw
Case #507: Game has not completed
Case #508: Draw
Case #509: Game has not completed
Case #510: Draw
Case #511: Game has not completed
Case #512: Game has not completed
Case #513: Game has not completed
Case #514: Draw
Case #515: X won
Case #516: Game has not completed
Case #517: O won
Case #518: O won
Case #519: Game has not completed
Case #520: X won
Case #521: O won
Case #522: X won
Case #523: Game has not completed
Case #524: Game has not completed
Case #525: Game has not completed
Case #526: O won
Case #527: Game has not completed
Case #528: Game has not completed
Case #529: X won
Case #530: Game has not completed
Case #531: O won
Case #532: X won
Case #533: O won
Case #534: Draw
Case #535: Game has not completed
Case #536: X won
Case #537: O won
Case #538: O won
Case #539: Game has not completed
Case #540: Game has not completed
Case #541: O won
Case #542: X won
Case #543: Game has not completed
Case #544: X won
Case #545: O won
Case #546: X won
Case #547: X won
Case #548: X won
Case #549: Game has not completed
Case #550: O won
Case #551: Game has not completed
Case #552: O won
Case #553: Game has not completed
Case #554: X won
Case #555: O won
Case #556: Game has not completed
Case #557: O won
Case #558: Game has not completed
Case #559: Game has not completed
Case #560: O won
Case #561: X won
Case #562: Game has not completed
Case #563: O won
Case #564: Game has not completed
Case #565: X won
Case #566: O won
Case #567: X won
Case #568: X won
Case #569: O won
Case #570: Game has not completed
Case #571: X won
Case #572: Game has not completed
Case #573: X won
Case #574: X won
Case #575: X won
Case #576: Game has not completed
Case #577: O won
Case #578: Game has not completed
Case #579: O won
Case #580: Draw
Case #581: Game has not completed
Case #582: O won
Case #583: O won
Case #584: Draw
Case #585: X won
Case #586: Draw
Case #587: X won
Case #588: X won
Case #589: O won
Case #590: Game has not completed
Case #591: Game has not completed
Case #592: X won
Case #593: Draw
Case #594: Game has not completed
Case #595: Game has not completed
Case #596: O won
Case #597: O won
Case #598: X won
Case #599: O won
Case #600: X won
Case #601: O won
Case #602: X won
Case #603: Game has not completed
Case #604: Game has not completed
Case #605: X won
Case #606: Game has not completed
Case #607: X won
Case #608: Game has not completed
Case #609: Game has not completed
Case #610: X won
Case #611: X won
Case #612: Draw
Case #613: O won
Case #614: O won
Case #615: X won
Case #616: X won
Case #617: X won
Case #618: Game has not completed
Case #619: X won
Case #620: X won
Case #621: Game has not completed
Case #622: O won
Case #623: Game has not completed
Case #624: O won
Case #625: O won
Case #626: Game has not completed
Case #627: X won
Case #628: X won
Case #629: O won
Case #630: Game has not completed
Case #631: X won
Case #632: O won
Case #633: X won
Case #634: Game has not completed
Case #635: O won
Case #636: X won
Case #637: Game has not completed
Case #638: X won
Case #639: X won
Case #640: Game has not completed
Case #641: Game has not completed
Case #642: O won
Case #643: X won
Case #644: X won
Case #645: O won
Case #646: X won
Case #647: X won
Case #648: X won
Case #649: O won
Case #650: O won
Case #651: X won
Case #652: Draw
Case #653: Game has not completed
Case #654: Draw
Case #655: Game has not completed
Case #656: X won
Case #657: Game has not completed
Case #658: Game has not completed
Case #659: Draw
Case #660: O won
Case #661: X won
Case #662: X won
Case #663: Game has not completed
Case #664: Game has not completed
Case #665: X won
Case #666: O won
Case #667: Game has not completed
Case #668: Game has not completed
Case #669: Game has not completed
Case #670: X won
Case #671: O won
Case #672: X won
Case #673: Game has not completed
Case #674: X won
Case #675: X won
Case #676: X won
Case #677: X won
Case #678: Game has not completed
Case #679: X won
Case #680: Game has not completed
Case #681: O won
Case #682: Game has not completed
Case #683: Game has not completed
Case #684: Game has not completed
Case #685: X won
Case #686: O won
Case #687: X won
Case #688: X won
Case #689: X won
Case #690: O won
Case #691: Game has not completed
Case #692: Game has not completed
Case #693: X won
Case #694: O won
Case #695: Game has not completed
Case #696: O won
Case #697: O won
Case #698: X won
Case #699: X won
Case #700: O won
Case #701: O won
Case #702: Draw
Case #703: Game has not completed
Case #704: O won
Case #705: X won
Case #706: X won
Case #707: X won
Case #708: Game has not completed
Case #709: Game has not completed
Case #710: X won
Case #711: X won
Case #712: O won
Case #713: O won
Case #714: X won
Case #715: Game has not completed
Case #716: X won
Case #717: O won
Case #718: O won
Case #719: O won
Case #720: Game has not completed
Case #721: Draw
Case #722: O won
Case #723: X won
Case #724: X won
Case #725: Game has not completed
Case #726: X won
Case #727: Game has not completed
Case #728: Game has not completed
Case #729: Game has not completed
Case #730: X won
Case #731: O won
Case #732: Draw
Case #733: O won
Case #734: X won
Case #735: X won
Case #736: Game has not completed
Case #737: Game has not completed
Case #738: O won
Case #739: Game has not completed
Case #740: Draw
Case #741: X won
Case #742: Game has not completed
Case #743: Game has not completed
Case #744: Game has not completed
Case #745: X won
Case #746: X won
Case #747: Game has not completed
Case #748: X won
Case #749: X won
Case #750: Game has not completed
Case #751: O won
Case #752: O won
Case #753: Game has not completed
Case #754: O won
Case #755: X won
Case #756: O won
Case #757: O won
Case #758: O won
Case #759: Game has not completed
Case #760: O won
Case #761: O won
Case #762: X won
Case #763: O won
Case #764: X won
Case #765: Draw
Case #766: O won
Case #767: Draw
Case #768: Draw
Case #769: Game has not completed
Case #770: X won
Case #771: X won
Case #772: Game has not completed
Case #773: X won
Case #774: Game has not completed
Case #775: X won
Case #776: O won
Case #777: O won
Case #778: O won
Case #779: O won
Case #780: Game has not completed
Case #781: X won
Case #782: X won
Case #783: Game has not completed
Case #784: O won
Case #785: Game has not completed
Case #786: Game has not completed
Case #787: Game has not completed
Case #788: Game has not completed
Case #789: X won
Case #790: O won
Case #791: O won
Case #792: O won
Case #793: X won
Case #794: X won
Case #795: Game has not completed
Case #796: Draw
Case #797: Game has not completed
Case #798: Game has not completed
Case #799: X won
Case #800: O won
Case #801: Game has not completed
Case #802: X won
Case #803: Draw
Case #804: X won
Case #805: Game has not completed
Case #806: X won
Case #807: X won
Case #808: Draw
Case #809: X won
Case #810: O won
Case #811: Game has not completed
Case #812: X won
Case #813: X won
Case #814: X won
Case #815: Game has not completed
Case #816: X won
Case #817: X won
Case #818: Game has not completed
Case #819: X won
Case #820: Game has not completed
Case #821: Draw
Case #822: O won
Case #823: Game has not completed
Case #824: X won
Case #825: Draw
Case #826: Draw
Case #827: Game has not completed
Case #828: O won
Case #829: X won
Case #830: Draw
Case #831: Game has not completed
Case #832: O won
Case #833: X won
Case #834: X won
Case #835: Game has not completed
Case #836: Game has not completed
Case #837: O won
Case #838: X won
Case #839: X won
Case #840: O won
Case #841: Game has not completed
Case #842: X won
Case #843: Draw
Case #844: Game has not completed
Case #845: X won
Case #846: O won
Case #847: X won
Case #848: Game has not completed
Case #849: X won
Case #850: X won
Case #851: X won
Case #852: X won
Case #853: X won
Case #854: X won
Case #855: Game has not completed
Case #856: Draw
Case #857: Game has not completed
Case #858: Game has not completed
Case #859: X won
Case #860: Game has not completed
Case #861: O won
Case #862: O won
Case #863: O won
Case #864: Game has not completed
Case #865: X won
Case #866: O won
Case #867: O won
Case #868: X won
Case #869: X won
Case #870: X won
Case #871: X won
Case #872: X won
Case #873: Game has not completed
Case #874: Game has not completed
Case #875: X won
Case #876: Game has not completed
Case #877: O won
Case #878: Draw
Case #879: Game has not completed
Case #880: Game has not completed
Case #881: X won
Case #882: Game has not completed
Case #883: Game has not completed
Case #884: Game has not completed
Case #885: X won
Case #886: Game has not completed
Case #887: O won
Case #888: X won
Case #889: X won
Case #890: O won
Case #891: O won
Case #892: Game has not completed
Case #893: X won
Case #894: Game has not completed
Case #895: Game has not completed
Case #896: Game has not completed
Case #897: Game has not completed
Case #898: X won
Case #899: Game has not completed
Case #900: O won
Case #901: Game has not completed
Case #902: Game has not completed
Case #903: O won
Case #904: O won
Case #905: O won
Case #906: X won
Case #907: X won
Case #908: X won
Case #909: X won
Case #910: X won
Case #911: Draw
Case #912: O won
Case #913: X won
Case #914: O won
Case #915: O won
Case #916: O won
Case #917: O won
Case #918: O won
Case #919: Game has not completed
Case #920: Game has not completed
Case #921: Game has not completed
Case #922: Game has not completed
Case #923: O won
Case #924: O won
Case #925: X won
Case #926: X won
Case #927: O won
Case #928: Game has not completed
Case #929: O won
Case #930: Draw
Case #931: Game has not completed
Case #932: O won
Case #933: O won
Case #934: O won
Case #935: Game has not completed
Case #936: Game has not completed
Case #937: O won
Case #938: Game has not completed
Case #939: X won
Case #940: X won
Case #941: X won
Case #942: Game has not completed
Case #943: X won
Case #944: Game has not completed
Case #945: O won
Case #946: X won
Case #947: O won
Case #948: O won
Case #949: O won
Case #950: X won
Case #951: Game has not completed
Case #952: O won
Case #953: Game has not completed
Case #954: O won
Case #955: O won
Case #956: O won
Case #957: O won
Case #958: O won
Case #959: O won
Case #960: Game has not completed
Case #961: Game has not completed
Case #962: Game has not completed
Case #963: X won
Case #964: X won
Case #965: Game has not completed
Case #966: X won
Case #967: Game has not completed
Case #968: O won
Case #969: Game has not completed
Case #970: Game has not completed
Case #971: X won
Case #972: X won
Case #973: X won
Case #974: Game has not completed
Case #975: Game has not completed
Case #976: Game has not completed
Case #977: O won
Case #978: Game has not completed
Case #979: X won
Case #980: Game has not completed
Case #981: O won
Case #982: O won
Case #983: Game has not completed
Case #984: Game has not completed
Case #985: Draw
Case #986: X won
Case #987: Game has not completed
Case #988: X won
Case #989: X won
Case #990: Game has not completed
Case #991: Game has not completed
Case #992: X won
Case #993: X won
Case #994: X won
Case #995: Game has not completed
Case #996: X won
Case #997: Game has not completed
Case #998: X won
Case #999: Game has not completed
Case #1000: X won