#include <iostream>
#include <math.h>
using namespace std;
int main() {
int n = 15;
cin >> n;
double z[n][n];
for( int i = 0; i < n; i++)
{
for( int j = 0; j < n; j++)
{
cin >> z[i][j];
if(z[i][j] > 0)
{
cout << "Index: "<< i <<" "<< j << '\n';
return 0;
}
}
}
cout <<"Ненулевых элементов нет" << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bWF0aC5oPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgbiA9IDE1OwoJY2luID4+IG47Cglkb3VibGUgeltuXVtuXTsKCWZvciggaW50IGkgPSAwOyBpIDwgbjsgaSsrKQoJewoJCWZvciggaW50IGogPSAwOyBqIDwgbjsgaisrKQoJCXsKCQkJY2luID4+IHpbaV1bal07CgkJCWlmKHpbaV1bal0gPiAwKQoJCQl7CgkJCQljb3V0IDw8ICJJbmRleDogIjw8IGkgPDwiICI8PCBqIDw8ICdcbic7CgkJCQlyZXR1cm4gMDsKCQkJfQoJCX0KCX0KCWNvdXQgPDwi0J3QtdC90YPQu9C10LLRi9GFINGN0LvQtdC80LXQvdGC0L7QsiDQvdC10YIiIDw8ICBlbmRsOwoJcmV0dXJuIDA7Cn0=
MTUKMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgCjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIAowIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAKMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgCjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIAowIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAKMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgCjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIAowIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAKMCAwIDAgMC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