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)
		}
	}
}

C++: #include<iostream>
#include<cstdio>
using namespace std;

int main()
{
	int i,gakuseki,tmp=-1;
	double W,L;
	double BMI;
	while(scanf("%d,%lf,%lf",&gakuseki,&W,&L))
	{
		if(tmp==gakuseki)
			break;
            tmp=gakuseki;
	    BMI=W/L/L;
	  
	   if(BMI>=25)
           cout<<gakuseki<<endl;
	}
	
return 0;



}

C++: #include<iostream>
#include<vector>
using namespace std;

int main(){

    int number;
    char c;
    double weight,tall;
    vector<int> ans;

    while(cin >> number >> c >> weight >> c >> tall){
        if(weight/(tall*tall) >= 25.0){
            ans.push_back(number);
        }
    }

    vector<int>::iterator it = ans.begin();

    for(;it != ans.end();){
        cout << *it << endl;
        it++;
    }

    return 0;
}

C++: #include<iostream>
#include<cstdio>
#include<vector>
using namespace std;

int main(){
	int num;
	double w, h, bmi;
	vector<int> seito;
	while(scanf("%d,%lf,%lf", &num, &w, &h) != EOF){
		bmi = (double)w/h/h;
		if(25.0<=bmi){
			seito.push_back(num);
		}
	}
	for(int i=0;i<seito.size();i++){
		cout<<seito[i]<<endl;
	}
	return 0;
}

C++: #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <map>
#include <set>
using namespace std;
 
#define rep(i,n) for(int i=0; i<n; i++)
#define FOR(i,s,n) for(int i=s; i<n; i++)
#define ALL(x) x.begin(), x.end()
#define pb push_back
#define foreach(it,con) for(auto it=con.begin();it!=con.end();it++)
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef vector<int> vi;

struct Person{
	Person(int _id,int _m,int _h):h(_h),m(_m),id(_id){
	}
	int id;
	float m;
	float h;
	float bmi(){
		return mass/h*h;
	}
};

int main(){
	int n;
	while(cin>>n,n){
		rep(i,n){
			int id;
			float m,h;
			cin>>id >> m >> h;
			Person p(id,m,h);
			if(p.bmi()>=25.0){
				cout << id << endl;
			}
		}
	}
	return 0;	
}

C++: #include<iostream>
#include<vector>
using namespace std;
int main()
{
	int s[50] = {};
	double w[50] = {};
	double h[50] = {};
	int i = 0;
	vector <int> sb(50, 0);
	while (scanf_s("%d,%f,%f", &s[i], &w[i], &h[i]) != EOF) {
		if ((w[i] / (h[i] * h[i])) >= 25) {
			sb.push_back(s[i]);
		}
		i++;
	}
	int j = 0;
	while (sb[j] == 0) {
		cout << sb[j] << endl;
		j++;
	}

	return 0;
}

C++: #include <cstdio>

int main()
{
	int num;
	double w,t;
	while(scanf("%d,%lf,%lf",&num,&w,&t)==3){
		if(w/t/t>=25.0)printf("%d\n",num);
	}
	return 0;
}

C++: #include<bits/stdc++.h>
#define _ ios_base::sync_with_stdio(0);cin.tie(0);
#define REP(i,n) for(int i=0;i<(int)(n);i++)

using namespace std;
const double BMI_OVER=25.0;
typedef long double ld;
int main(){ _;
  int id;
  ld weight,height;
  while(scanf("%d,%Lf,%Lf",&id,&weight,&height)!=-1){
    if(weight/(height*height)>=BMI_OVER)
      cout<<id<<endl;
  }
}

C++: #include<iostream>
#include<string.h>
#include<cstdio>
#include<algorithm>
#include<stack>
#include<queue>
#include<vector>
#include<cmath>
#include<utility>
#define ll long long int
#define ld long double
#define INF 1000000000
#define EPS 0.0000000001
#define rep(i,n) for(i=0;i<n;i++)
using namespace std;
typedef pair<int, int> P;

string str;

int main()
{
  int s;
  double w,h;


  while(scanf("%d,%lf,%lf",&s,&w,&h)!=EOF){
    double bmi=w/h/h;
    if(bmi>25)
      cout<<s<<endl;

  }
}

C++: #include <cstdio>
#include <algorithm>
using namespace std;

int main()  {

    double w, h;
    int id;
    while(scanf("%d,%lf,%lf", &id, &w, &h) != EOF) {
        if (w/(h*h) >= 25) printf("%d\n", id);
    }
    return 0;
}

C++: #include<iostream>
#include<stdio.h>

using namespace std;


struct data{
	int num;
	double weight,height;
};

int main(){

	int num;
	double weight,height,bmi;
	
	while(scanf("%d,%lf,%lf",&num,&weight,&height)!=EOF){
		
		bmi=weight/(height*height);
		
		if(bmi>=25.0){
			cout<<num<<endl;
		}
	}

}

C++: #include<stdio.h>

int main(){
	int l,i=0;
	double m,n;
	while(scanf("%d,%lf,%lf",&l,&m,&n)!=NULL){
		if(25.0<=m/(n*n)){printf("%d\n",l);i++;}
	}
	if(i==0)printf("????????????\n");
		return 0;
}

C++: #include <bits/stdc++.h>

using namespace std;

int main()
{
    int num;
    double Wei, Hei, BMI;
 
    while (scanf("%d,%lf,%lf", &num, &Wei, &Hei) != EOF) {
	BMI = Wei / (Hei * Hei); 
	if (BMI >= 25) printf("%d\n", num);
    }
    return 0;
}

C++: #include<iostream>
#include<cstdio>
using namespace std;

int main(){

  double x,y;
  int n;

  while(scanf("%d,%lf,%lf",&n,&x,&y) != EOF){

    if(x/(y*y) >= 25) cout << n << endl;

  }

}

C++: #include<iostream>
using namespace std;

int main()
{
    int id;
    double w;
    double h;
    while(cin>>id){
        cin>>w>>h;
        double bmi = w/(h*h);
        if(bmi > 25.0){
            cout<<id<<endl;
        }
    }
    return 0;
}

C++: #include<iostream>
using namespace std;

int main() {
	double bmi;
	int s;
	double w, h;
	while (scanf("%d,%lf,%lf", &s, &w, &h) + 1) {
		bmi = w / (h*h);
		if (bmi >= 25) {
			cout << s<<endl;
		}
	}
	return 0;
}

C++: #include<iostream>
#include<stdio.h>
using namespace std;
int main(){
  int num;
  double tai,sint;
  char d;
  while(scanf("%d,%lf,%lf",&num,&tai,&sint)!='\0'){
  //cout<<tai/sint*sint<<endl;
    if(tai/(sint*sint)>=25)cout<<num<<endl;
  }
}

C++: //include
//------------------------------------------
#include <bits/stdc++.h>

using namespace std;

//typedef
//------------------------------------------
typedef vector<int> vi;
typedef vector<vi> vii;
typedef vector<string> vs;
typedef vector<bool> vb;
typedef vector<vb> vbb;
typedef pair<int, int> pii;
typedef long long ll;
typedef unsigned long long ull;

//container util
//------------------------------------------
#define all(a)  (a).begin(),(a).end()
#define rall(a) (a).rbegin(), (a).rend()
#define pb push_back
#define mp make_pair
#define iter(i,c) for(auto i=(c).begin(); i!=(c).end(); ++i)

//repetition
//------------------------------------------
#define loop(i,a,b) for(int i=(a);i<(b);++i)
#define rep(i,n)  loop(i,0,n)

//constant
//--------------------------------------------
const double eps = 1e-10;
const double pi  = acos(-1.0);
const double inf = (int)1e8;

// output vector
// ------------------------------------------
namespace std {
    template<typename T> ostream & operator<<(ostream& os, vector<T> const& v){
        for(auto it=v.begin(); it!=v.end(); ++it){
            os << *it << (it+1==v.end() ? "" : ",");
        }
        return os;
    }
}

//clear memory
#define clr(a) memset((a), 0 ,sizeof(a))

int gcd(int a, int b){
   int tmp;
   while(a%b!=0){
      tmp=a%b;
      a=b;
      b=tmp;
   }
}
 
int lcm(int a,int b){
   return a*b/gcd(a,b);
}
 
bool prime_number(int n){
   if(n==0||n==1) return false;
   vb a(n+1);
   fill(all(a),true);
   loop(i,2,n/2+1){
      if(!a[i]) continue;
      for(int j=2;i*j<=n;j++){
         a[i*j]=false;
      }
   }
   return a[n];
}

int main(){
   double a[3];
   char s;
   
   while(cin >> a[0]){
      rep(i,2) cin>>s>>a[i+1];
      if(a[1]/pow(a[2],2)>25) cout << a[0] << endl;
   }
}

C++: main(id){double w,h,bmi;for(;~scanf("%d,%lf,%lf",&id,&w,&h);)w/h/h>=25&&printf("%d\n",id);exit(0);}