#include <iostream>
using namespace std;
int main() {
int arr[3][3];
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
cin >> arr[ i][j];
}
}
int saddlePointRow = -1;
int saddlePointCol = -1;
for (int i = 0; i < 3; i++) {
int maxInRow = arr[ i][0];
int colIndexOfMaxInRow = 0;
for (int j = 1; j < 3; j++) {
if (arr[ i][j] > maxInRow) {
maxInRow = arr[ i][j];
colIndexOfMaxInRow = j;
}
}
bool isSaddlePoint = true;
for (int k = 0; k < 3; k++) {
if (arr[k][colIndexOfMaxInRow] < maxInRow) {
isSaddlePoint = false;
break;
}
}
if (isSaddlePoint) {
saddlePointRow = i;
saddlePointCol = colIndexOfMaxInRow;
break;
}
}
if (saddlePointRow != -1 && saddlePointCol != -1) {
cout << "Saddle point:a[" << saddlePointRow << "][" << saddlePointCol << "]=" << arr[saddlePointRow][saddlePointCol] << endl;
} else {
cout << "There is no saddle point" << endl;
}
return 0;
}