
import java.util.Scanner

object Main extends App {
  val scanner = new Scanner(System.in)
  val h = scanner.nextInt
  val w = scanner.nextInt
  for(i <- 0 until h; j <- 0 until w) {
    if(scanner.next.equals("snuke")) {
      println("" + ('A' + j).toChar + (i + 1))
    }
  }
}