From a rectangular sheet of paper with rows and columns, some cells are removed. Into how many pieces will the remaining part of the sheet break? Two cells belong to the same piece if they share a side.
The first line contains the numbers and (1 \leq m, n \leq 100). Each of the next lines contains symbols. If a cell is not removed, it is denoted by the symbol #; if it is removed, it is denoted by a dot ..
Print the number of pieces into which the sheet will break.
Example 1