require 'bigdecimal'

x = gets
until x.nil?
 y = x.split(",")
 s = y[0].to_i
 w = y[1].to_f
 h = y[2].to_f

 height = BigDecimal(h.to_s) * BigDecimal(h.to_s)
 h = height.to_f
 bmi = BigDecimal(w.to_s) / BigDecimal(h.to_s)
 bmi1 = bmi.to_f
 if bmi1 >= 25
  puts s
 end

 x = gets
end
