#include <iostream>
using namespace std;
int main() {
const int n = 15;
double A[n][n];
for (int i = 0; i < n; i++){
for (int j = 0; j < n; j++)
cin >> A[i][j];
}
for (int i = 0; i < n; i++){
for (int j = 0; j < n; j++)
if (A[i][j]!=0){
cout << "("<< i <<','<< j <<")" << "\t";
}
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogCmludCBtYWluKCkgewoJY29uc3QgaW50IG4gPSAxNTsKCWRvdWJsZSBBW25dW25dOwoJZm9yIChpbnQgaSA9IDA7IGkgPCBuOyBpKyspewoJCWZvciAoaW50IGogPSAwOyBqIDwgbjsgaisrKQoJCQljaW4gPj4gQVtpXVtqXTsKCX0KCWZvciAoaW50IGkgPSAwOyBpIDwgbjsgaSsrKXsKCQlmb3IgKGludCBqID0gMDsgaiA8IG47IGorKykKCQkJaWYgKEFbaV1bal0hPTApewoJCQkJY291dCA8PCAiKCI8PCBpIDw8JywnPDwgaiA8PCIpIiA8PCAiXHQiOwoJCQl9Cgl9CQoJcmV0dXJuIDA7Cn0=
MCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAKMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAKMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAKMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAKMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAKMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAKMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAKMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAKMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAKMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAKMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAKMCAwIDAgMCAwIDAgMCAwIDA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