During the shift LKSH.August.2009, tests were conducted on a hole punch that makes square holes. The badge consists of an n \times m grid, where each cell can be punched. In the diagram, represents a punched cell, and represents an unpunched cell. How many small badges of peculiar shapes will remain?
The first line contains the dimensions of the badge and (1 \leq n, m \leq 100). Each of the next lines contains the diagram of the punched badge.
Output the number of resulting badges.

Example 1
Example 2