def BMICheck(weight, height)
  bmi = weight/(height**2)
  return bmi >= 25
end

while input = gets
  student = (input.chomp).split(",")
  if BMICheck(student[1].to_f, student[2].to_f)
    puts student[0]
  end
end