#encoding:utf-8 No.0075 2014.10.8
student = []
while true
  data = gets.chomp.split(/,/).map{|item| item.to_f}
  if data == []
    break
  end
  student.push data
end

judge = 0
student.length.times do |i|
  if student[i][1]/(student[i][2]**2) >= 25.0
    puts student[i][0].to_i
    judge += 1
  end
end

if judge == 0
  puts "該当なし"
end