Description

請在使用者給定的 �∗�nm 的二維陣列找出最大值以及其索引值。

Please find the maximum value and its index value in the two-dimensional array of �∗�nm given by the user.

Input

輸入包含以下資訊:

The input contains the following information:

Output

請輸出最大值以及其索引值。

Please output the maximum value and its index value.

Sample Input 1

7 7
1 2 3 4 5 6 7
4 5 6 7 8 6 0
4 5 6 7 89 2 3
1 234 799 44 6 4 6
123 456 78955 444 66 77 5
1 1 1 1 1 1 1
2 2 2 2 2 2 2

Sample Output 1

78955 4 2

Sample Input 2

3 3
1 2 3
4 5 6
7 8 9

Sample Output 2