Олимпиадный тренинг

Задача 18784. toe


Задача

Темы:
Toe
 
Find the position of the zero element in the matrix.
 
Input
Format the input data as in the example.
At least one zero element in the matrix always exists.
 
Output
Print the row number first, then the column number of the null element. 
If there are multiple zeros in the matrix, return the position of any of them.
 
Example input file
3 4
0 1 2 3
4 5 0 1
2 3 4 5
 
Example output file
2 3