You have a row of boxes, some with cookies and some empty. After a certain number of days, you will eat one cookie from a box each day. We want to find out how many boxes will be empty after those days are over.
Input: 5 2
.@@.@
Output: 4
Input: 3 3
@@@
Output: 3