#!/usr/bin/ruby
# coding: utf-8

ok = false

while true
  line = gets
  if line == nil
    break
  end
  id, kg, m = line.chomp.split(',')
  kg = kg.to_f
  m = m.to_f
  bmi = kg/m/m
  if bmi >= 25.0
    ok = true
    puts id
  end
end

if not ok
  puts "該当なし"
end