object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val H, W = sc.nextInt()
  val alphabet = 'A'.to('Z')
  val squares = Array.fill(H)(Array.fill(W)(sc.next()))
  for (i <- 0.until(H); j <- 0.until(W)) {
    if (squares(i)(j) == "snuke") println(alphabet(j).toString + (i + 1))
  }
}
