Finding Bob
Given an \(N \times N\) grid, Bob is currently in exactly one of its cells. Bob is represented by the number \(1\). Everyone else is represented by the number \(0\).
We need to find Bob, so print the row and column of the cell that Bob is in.
Input Specification
The first line is the integer \(N\) (\(1 \le N \le 1000\)). For the following \(N\) lines, each line contains \(N\) space-separated integers either \(0\) or \(1\). There will be exactly one \(1\) in the grid.
Output Specification
Print the row and column of the cell that Bob is in.
Sample Input
4
0 0 0 0
0 0 1 0
0 0 0 0
0 0 0 0
Sample Output
2 3
Bob is in row 2, column 3.
Comments