Introduction - If you have any usage issues, please Google them yourself
Each data set is the first line of the two integers W and H, says the number of ceramic tile x direction and y direction respectively. W and H are no more than 20. In the next H lines, each line includes W characters.