import java.util.Scanner;
public class matrix_max {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int A[][] = new int[9][9];
int max = 0;
int x = 0;
int y = 0;
for(int i = 0; i<9;i++){
for(int j = 0; j<9; j++){
A[i][j] = sc.nextInt();
if(A[i][j]> max){
max = A[i][j];
x = i;
y = j;
}
}
}
System.out.print(max + "\n");
System.out.print((x + 1) + " " + (y +1));
}
}
목표인 골드 티어 문제를 술술 풀어 내는 내 모습을 볼 수 있을 까.. 꾸준히 하다 보면 성장한다고 믿고 꾸준하게 해봐야겠다.