num_ary = []
bmi_ary = []
while line = gets
n,w,l = line.split(",").map(&:to_f)
num_ary << n
bmi = w.to_i / (l.to_f ** 2)
bmi_ary << bmi
end

for i in 0..bmi_ary.size
if bmi_ary[i].to_i >= 25.0
  puts num_ary[i].to_i
end
end
