Square punch
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
During the Summer School August 2009 the hole punch was tested that makes the square holes. The size of the badge is cells, each of which can be punched. On the diagram is a punched cell, is not punched. How many little badges will remain after using a punch?
Input
The first line contains the sizes of the badge and . The next lines contain a diagram of the punctured badge.
Output
Print the number of little badges that will remain after using a punch.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 3K
Acceptance rate 50%