Go: package main

import (
	"bufio"
	"fmt"
	"os"
	"strconv"
)

var scanner = bufio.NewScanner(os.Stdin)

func nextString() string {
	scanner.Scan()
	return scanner.Text()
}

func nextInt() int {
	n, err := strconv.Atoi(nextString())
	if err != nil {
		fmt.Printf("strconv.Atoi failed: %v\n", err)
	}
	return n
}

func nextFloat64() (float64, error) {
	return strconv.ParseFloat(nextString(), 64)
}

func main() {
	scanner.Split(bufio.ScanWords)

	for {
		var s int
		var w, h float64
		_, err := fmt.Scanf("%d,%f,%f", &s, &w, &h)

		if err != nil {
			break
		}

		if w/(h*h) >= 25 {
			fmt.Println(s)
		}
	}
}

Python: list=[]

while True:
  try:
    s,w,h=map(float,input().split(","))
  except:break
  
  BMI = w / h**2
  if BMI >= 25:
    list.append(int(s))
  
for n in list:
  print(n)

Python: try:
    while True: 
        s, w, h = map(float, input().split(','))
        if w / h**2 >= 25:
            print(int(s))
except:
    pass

Python: while True:
	try:
		number,weight,height=map(float,input().split(','))
		bmi=weight/(height)**2
		if bmi>=25:
			print(int(number))
	except EOFError:
		break

Python: import sys
for line in sys.stdin:
    s,w,h=map(float,line.split(","))
    if w/h/h>=25:
        print(int(s))

Python: import sys
for line in sys.stdin:
  s,w,h=line.strip().split(",")
  if float(w)/(float(h)**2)>=25:
    print(s)

Python: import sys
readlines = sys.stdin.readlines
write = sys.stdout.write
def solve():
    EPS = 1e-9
    for line in readlines():
        s, w, h = line.split(",")
        w = float(w); h = float(h)
        if w > 25*h*h - EPS:
            write("%s\n" % s)
solve()

Python: #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (division, absolute_import, print_function,
                        unicode_literals)
from sys import stdin

for line in stdin:
    number, weight, height = line.split(',')
    if 25.0 <= float(weight) / (float(height) ** 2):
        print(number)

Python: total=s=i=0
try:
 while True:
  a,b = map(int,input().split(','))
  total += a*b
  s+=b
  i+=1
except:
 result=s/i+0.5 
 print(total)
 print(round(result))

Python: def bmi(w,h):
    return w / (h ** 2)

s,w,h = [],[],[]
while True:
    try:
        tmp = input().split(',')
        s.append(float(tmp[0]))
        w.append(float(tmp[1]))
        h.append(float(tmp[2]))
    except EOFError:
        break
f = []
for i in range(len(s)):
    if bmi(w[i],h[i]) >= 25:
      f.append(s[i])
for i in range(len(f)-1):
    print(f[i])
if len(f) != 1 or len(f) != 0:
    print(f[-1])

Python: ans = []
while True:
    try:
        A = list(input().split(','))
    except EOFError:
        break
    S = int(A [0])
    W,H = float(A [1]),float(A [2])
    if W / H / H >= 25.0:
        ans.append(S)

for i in ans:
    print(i)

Python: while True:    
    try:
        s,w,h = map(float,input().split(","))
    except: break

    bmi = w/(h**2)
    if bmi >= 25:
        print(int(s))

Python: import sys
for line in sys.stdin.readlines():
  n,w,h = map(float,line.rstrip().split(','))
  if w / h**2 >= 25:
    print(int(n))

Python: while True:
    try:
        s, w, h = map(float, input().split(','))
        if w / pow(h, 2) >= 25:
            print(int(s))
    except:
        break

Python: import sys

for line in sys.stdin:
    l = line.split(',')
    uid = l[0]
    w = float(l[1])
    h = float(l[2])
    # print(uid,w,h)
    if w/(h*h) >= 25:
        print(uid)

Python: def get_input():
    while True:
        try:
            yield ''.join(input())
        except EOFError:
            break

N = list(get_input())
for l in range(len(N)):
    S,W,H = N[l].split(",")
    s = int(S)
    w = float(W)
    h = float(H)
    BMI = w / h**2
    if BMI >= 25.0:
        print(s)

Python: try:
  while True:
    id, w, h = map(float, input().split(","))
    bmi = w / (h*h)
    if bmi >= 25.0:
      print(int(id))
except:
  pass

Python: while True:
    try:
        lst = list(input().split(','))
        s, w, h = int(lst[0]), float(lst[1]), float(lst[2])
        BMI = w/h/h
        if BMI >= 25:
            print(s)

    except EOFError:
        break

Python: total=0
s=0
i=0
try:
 while True:
  a,b = map(int,input().split(','))
  total += a*b
  s+=b
  i+=1
except:
 result=s/i+0.5 
 print(total)
 print(round(result))

Python: while 1:
    try:
        s,w,h=map(float,raw_input().split(","))
        if w/h**2>=25:
            print(int(s))
    except:
        break

Python: import sys

for i in sys.stdin:
    n, w, t = map(float, i.split(','))
    print(int(n)) if w/(t**2) >= 25 else print('', end='')

Python: while True:
  try:
    s, w, h = input().split(",")
    if float(w) / float(h) ** 2 >= 25:
      print(s)
 
  except EOFError:
    break

Python: import sys
list = []
for l in sys.stdin:
    s,w,h = l.split(',')
    list.append((int(s),float(w)/float(h)**2))

for x in list:
    if x[1] >=25:
        print(x[0])

Python: try:
    while True:
        id, w, h = map(float, input().split(","))
        bmi = w / (h*h)
        if bmi >= 25.0:
            print(int(id))
except:
    pass

Python: i = 0
date = {}
while i < 50:
	try:
		s, w, h = list(map(float,input().split(",")))
	except:
		break
	date.update({int(s):w/h/h})
	i += 1
li = [i for i in date if date[i] >= 25]
for i in range(len(li)): print(li[i])

Python: L = []
while True:
    try:
        id, w, h = [float(x) for x in input().split(",")]
        id = int(id)
        if w / h**2  >= 25:
            L.append(id)
    except EOFError:
        break

for i in L:
    print(i)

Python: try:
    while True:
        id ,w ,h = map(float,input().split(","))
        bmi = w / (h*h)
        if bmi>=25:
            print(int(id))
        
except:
    pass

Python: while True:
  try:
    s, w, h = input().split(",")
    if float(w) / float(h) ** 2 >= 25:
      print(s)
 
  except EOFError:
    break

Python: while True:
    try:
        line = input()
    except EOFError:
        break

    n, w, t = map(float, line.split(','))
    if w / t**2 >= 25: print(int(n))

Python: anslist = []
while 1:
    try:
        s, w, h = map(float, input().split(","))
    except:
        break

    bmi = w / h**2
    if bmi >= 25:
        anslist.append(int(s))

for ans in anslist:
    print(ans)

Python: import sys
f = sys.stdin

for line in f:
    id, weight, height = line.strip().split(',')
    weight = float(weight)
    height = float(height)
    if 25 <= weight / height / height:
        print(id)

Python: for e in iter(input,'-1 -1'):
 s,w,h=e.split(',')
 float(w)/float(h)**2<25 or print(s)