import scala.io.Source.stdin

object Main extends App {
  for {
    line          <- stdin.getLines()
    Array(n, w, h) = line.split(",")
    if w.toDouble / Math.pow(h.toDouble, 2) >= 25
  } {
    println(n)
  }
}

