First line contains integers $N$ and $M$ ($1 \le M, N \le 100$). 

Each of next $N$ lines contains string of $M$ digits (without the spaces or other
delimiters inside) --- the given matrix. You may assuma that atleast one digit in the matrix is not equal to 0.
