Two dimensional array of size n * m is given. Find the rows that contain the minimal element.
First line contains two numbers n and m (1 ≤ n, m ≤ 100) - the number of rows and the number of columns. Next given n rows with m integers - the array elements. All numbers do not exceed 100 by absolute value. The numbering of elements starts with 1.
In one line print the numbers of rows that contain minimal element in increasing order.