Go: package main

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

var sc = bufio.NewScanner(os.Stdin)

// func read() string {
// 	sc.Scan()
// 	return sc.Text()
// }

func main() {
	sc.Split(bufio.ScanLines)
	for sc.Scan() {
		n := strings.Split(sc.Text(), ",")
		id, _ := strconv.Atoi(n[0])
		weight, _ := strconv.ParseFloat(n[1], 64)
		height, _ := strconv.ParseFloat(n[2], 64)
		bmi := weight / (height * height)
		if bmi >= 25.0 {
			fmt.Println(id)
		}
	}
}

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(","))
  except:
    break
  bmi = w / (h**2)
  if bmi >= 25.0:
    print(int(s))

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

Python: def bmi(s,w,h):
    if w/h**2 >= 25:
        print(s)

while(1):
    try:
        s,w,h = [i for i in input().split(",")]
        s = int(s)
        w = float(w)
        h = float(h)
        bmi(s,w,h)
    except EOFError:
        break

Python: import sys
print("\n".join(map(str, [int(s) for l in sys.stdin for s, w, h in [map(float, l.split(","))] if w/h**2 >= 25])))

Python: # coding=utf-8

###
### for atcorder program
###

import sys
import math

# math class
class mymath:
    ### pi
    pi = 3.14159265358979323846264338

    ### Prime Number
    def pnum_eratosthenes(self, n):
        ptable = [0 for i in range(n+1)]
        plist = []

        for i in range(2, n+1):
            if ptable[i]==0:
                plist.append(i)
                for j in range(i+i, n+1, i):
                    ptable[j] = 1
        return plist

    ### GCD
    def gcd(self, a, b):
        if b == 0:
            return a
        return self.gcd(b, a%b)

    ### LCM
    def lcm(self, a, b):
        return (a*b)//self.gcd(a,b)

    ### Mat Multiplication
    def mul(self, A, B):
        ans = []
        for a in A:
            c = 0
            for j, row in enumerate(a):
                c += row*B[j]
            ans.append(c)
        return ans

mymath = mymath()

### output class
class output:
    ### list
    def list(self, l):
        l = list(l)
        #print(" ", end="")
        for i, num in enumerate(l):
            print(num, end="")
            if i != len(l)-1:
                print(" ", end="")
        print()

output = output()

### input sample
#i = input()
#N = int(input())
#A, B, C = [x for x in input().split()]
#N, K = [int(x) for x in input().split()]
#inlist = [int(w) for w in input().split()]

#R = float(input())
#A.append(list(map(int,input().split())))

#for line in sys.stdin.readlines():
#    x, y = [int(temp) for temp in line.split()]

#abc list
#abc = [chr(ord('a') + i) for i in range(26)]

### output sample
#print("{0} {1} {2:.5f}".format(A//B, A%B, A/B))
#print("{0:.6f} {1:.6f}".format(R*R*math.pi,R*2*math.pi))
#print(" {}".format(i), end="")

def get_input():
    N = []
    while True:
        try:
            N.append(input())
            #N.append(int(input()))
        except EOFError:
            break
    return N

N = get_input()

for i in N:
    S, W, H = [x for x in i.split(',')]
    BMI = float(W) / (float(H) ** 2)
    if BMI >= 25:
        print(S)

Python: import sys
l=[list(map(float,i.split(","))) for i in sys.stdin]
bmi=lambda i:i[1]/(i[2]**2)
[print(int(i[0])) for i in l if bmi(i)>=25]

Python: import sys
for e in sys.stdin:
 s,w,h=e.split(',')
 float(w)/float(h)**2<25 or print(s)

Python: import sys

for line in sys.stdin:
  try:
    s, w, h = [float(i) for i in line.split(',')]
    if w / h**2 >= 25:
      print(int(s))
  except:
    break

Python: while True:
    try:
        f = input().strip().split(',')
        num = f[0]
        w,h = map(float,f[1:])
        if w/h/h >= 25.0:
            print(num)
    except EOFError:
        break

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

Python: answer=[]
while 1:
    try:
        s,w,h=map(float,input().split(","))
        if w/h**2>=25:answer.append(s)
    except:
        for i in range(len(answer)):
            print(int(answer[i]))
        break

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

for i in A:
	print(i)

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

    def BMI(w,h):
      x = w/ (h*h)
      return x

    if BMI(w,h)>=25:
      print(int(s))
except:
  pass

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

Python: while True:
    try:
        a,b,c = map(float,input().split(","))
    except:
        break
    a = int(a)
    if b/(c**2) >= 25:
        print(a)

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

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

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

Python: # AOJ 0075 BMI
# Python3 2018.6.14 bal4u

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

Python: # -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0075
"""
import sys


def is_overweight(weight, height):
    bmi = weight / height**2
    if bmi >= 25.0:
        return True
    else:
        return False


def main(args):
    result = []
    for line in sys.stdin:
        id, weight, height = [float(x) for x in line.strip().split(',')]
        # print(id, weight, height)
        if is_overweight(weight, height):
            result.append(int(id))

    for id in result:
        print(id)

if __name__ == '__main__':
    main(sys.argv[1:])

Python: while True:
 try:
   a,b,c=map(float,input().split(','))
   bmi=b/c**2
   if bmi>=25:
     print(int(a))
 except:
  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=i+0.5 
 print(total)
 if isinstance(result,float):
    print(round(result))
 else:
    print(result)

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

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

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

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])
if len(f) != 1 and len(f) != 0:
    for i in range(len(f)-1):
        print(f[i])
if len(f) != 1 and len(f) != 0:
    print(f[-1])
elif len(f) == 1:
    print(f[0])

Python: S=[]
while True:
  try:
    s,w,h=map(float,input().split(","))
    if w//(h*h)>=25:
      S.append(int(s))
  except EOFError:
    break
for i in range(len(S)):
  print(S[i])

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

Python: import sys
for l in sys.stdin:
    b=l.split(",")
    c=float(b[2])**2
    if float(b[1])/c>=25:
        print(b[0])