A rectangular garden plot of width and length is divided into squares of side . Beds are dug in this plot. A bed is a collection of squares that satisfies the following conditions:
From any square of the bed, it is possible to reach any other square of the same bed by moving along the bed from square to square through their common side.
No two beds intersect or touch each other vertically or horizontally (beds may touch at the corners of squares).
Count the number of beds in the garden plot.
The first line contains two numbers and (1 \leq n, m \leq 200). The following lines each contain characters. The # symbol denotes the territory of a bed, and the dot denotes empty territory. There are no other characters in the input.
Print the number of beds in the garden plot.
Example 1