#include <iostream>
using namespace std;
int main() {
char chess[8][8];
for(int i=7; i>=0; i--){
for(char j='a'; j<='h'; j++){
cin >> chess[i][j - 'a'];
if(chess [i][j - 'a'] == '*')
cout << j << i+1;
}
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CgljaGFyIGNoZXNzWzhdWzhdOwoJZm9yKGludCBpPTc7IGk+PTA7IGktLSl7CgkJZm9yKGNoYXIgaj0nYSc7IGo8PSdoJzsgaisrKXsKCQkJY2luID4+IGNoZXNzW2ldW2ogLSAnYSddOwoJCQlpZihjaGVzcyBbaV1baiAtICdhJ10gPT0gJyonKQoJCQkJY291dCA8PCBqIDw8IGkrMTsKCQl9Cgl9CglyZXR1cm4gMDsKfQ==