import sys

for s in sys.stdin:

    n,w,h=list(map(float, s.split(",")))

    bmi=w/h/h

    if bmi>=25: print(int(n))
import sys

for s in sys.stdin:

    n,w,h=s.split(",")

    n,w,h=int(n),float(w),float(h)

    bmi=w/h/h

    if bmi>=25: print(n)
import sys

for s in sys.stdin:
    n, w, h = list(map(float, s.split(",")))
    bmi = w / h / h
    if bmi >= 25:
        print(int(n))

import sys

for s in sys.stdin:
    n, w, h = s.split(",")
    n, w, h = int(n), float(w), float(h)
    bmi = w / h / h
    if bmi >= 25:
        print(n)

-    n, w, h = list(map(float, s.split(","))) +    n, w, h = s.split(",") +    n, w, h = int(n), float(w), float(h) -        print(int(n)) +        print(n)