6 5
XXXXX
XXXXX
XXX..
X.XX.
X..XX
X...X
5 6
XXXXXX
XXX...
XXXX..
XX.XX.
XX..XX
5 6
XXXXXX
...XXX
..XXXX
.XX.XX
XX..XX
6 5
XXXXX
XXXXX
..XXX
.XX.X
XX..X
X...X
0
For all this test case output is 2.
But type of the 2 and 3 no of test case is not in the judge test case
because one of my accepted code ...