fun main(args: Array<String>) {
    cf16FinalA()
}

fun cf16FinalA() {
    val (h, w) = readLine()!!.split(' ').map { it.toInt() }
    val list = (1..h).map { readLine()!!.split(' ') }

    val alp = ('A'..'Z').toList()

    for (i in 0 until h) {
        for (j in 0 until w) {
            if (list[i][j] == "snuke") return println("${alp[j]}${i + 1}")
        }
    }

    error("なんで？")
}
