A two-dimensional array of size n \times m is given. Find all rows that contain the minimum element of the array.
The first line contains two integers, and m~(1 \le n, m \le 100) — the number of rows and columns, respectively.
The next lines each contain integers representing the elements of the array. The absolute value of each element does not exceed .
Rows and columns are numbered starting from .
Print, in increasing order, the numbers of all rows that contain the minimum element of the array.
Example 1
Example 3