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++: //BMI
#include<bits/stdc++.h>
using namespace std;

int main(){
  char t;
  int n;
  double w, h;
  while(cin>>n>>t>>w>>t>>h){
    if(w/(double)(h*h)>=25.0)cout<<n<<endl;
  }
  return 0;
}

C++: #include<iostream>
#include<iomanip>
#include<string>
#include<algorithm>
#include<cmath>
using namespace std;
int main(){
    double s,w,h;
    while(cin>>s>>w>>h){
        if(w/(s*s)>=25)cout<<s<<endl;
    }
    return 0;
}

C++: #include<cstdio>
#include<algorithm>
#include<vector>
#include<string>
#include<iostream>
#include<queue>
#include<map>
#include<set>
#include<complex>
#include<stack>
#include<cmath>
 
using namespace std;
 
#define reps(i,f,n) for(int i=f;i<int(n);i++)
#define rep(i,n) reps(i,0,n)

int main(){
	int a;
	double b,c;
	while(scanf("%d,%lf,%lf",&a,&b,&c)!=EOF){
		if(b/(c*c)>=25.0)printf("%d\n",a);
	}
	
}

C++: #include<iostream>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<vector>
#include<string>
#include<sstream>
#include<cmath>
#include<numeric>
#include<map>
#include<stack>
#include<queue>
using namespace std;
int main(void) {
  int s; double w, h;
  while( scanf("%d,%lf,%lf", &s, &w, &h) != EOF ){
    if( w / (h*h) >= 25 ) cout << s << endl;
  }

  return 0;
}






// EOF

C++: #include<iostream>
using namespace std;
int main(){
	int s;
	double w, h;
	char c;
	while(cin >> s >> c >> w >> c >> h){
		double BMI = w / (h * h);
		if(BMI >= 25.0) cout << s << endl;
	}
}

C++: #include <bits/stdc++.h>
using namespace std;
int main(){
  long long n;
  double w,h;
  while(scanf("%lld,%lf,%lf",&n,&w,&h)!=EOF){
    if((w/(h*h))>=25)cout << n << endl;
  }
  return 0;
}

C++: #include <iostream>
using namespace std;
int main(void){
   int i;
   char ch;
   double w,h;
   while(cin >> i >> ch >> w >> ch >> h){
       if(w/h/h>=25.0){
           cout << i;
           cout << endl;
       }
   }
   return 0;
}

C++: #include<stdio.h>

int main(void){
	int warnings = 0;
	while(1){
		int std;
		double wgh,tll;
		double BMI = 0.0;

		if( EOF == scanf("%d,%lf,%lf", &std, &wgh, &tll) ) break;

		BMI = wgh / (tll * tll);

		if( BMI >= 25.0 ){
			printf("%d\n",std);
			warnings++;
		}
	}
	if(warnings == 0) printf("ツ該ツ督鳴づ按つオ\n");
	return 0;
}

C++: #include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <algorithm>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cctype>
#include <cmath>
#include <memory.h>
#include <cassert>
#include <iomanip>

using namespace std;


#define all(c) ((c).begin()), ((c).end())
#define debug(c) cerr << "> " << #c << " = " << (c) << endl;
#define iter(c) __typeof((c).begin())
#define present(c, e) ((c).find((e)) != (c).end())
#define cpresent(c, e) (find(all(c), (e)) != (c).end())
#define tr(i, c) for (iter(c) i = (c).begin(); i != (c).end(); i++)
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define REP(i, a, b) for (int i = (int)(a); i <= (int)(b); i++)

#define mp make_pair
#define fst first
#define snd second
#define pb push_back


const double EPS = 1e-10;


typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pii;
typedef complex<double> P;



int main() {
	char c;
	set<int> ans;
	for (double n, w, h; cin >> n >> c >> w >> c >> h; ) {
		if (w / h / h >= 25.0) ans.insert(n);
	}
	tr(i, ans) cout << *i << endl;
	
	return 0;
}

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

using namespace std;

int main(){

	int stu[51];
	double w,h;
	double BMI;
	double BMIs[51] = {0};

	for(int i = 0; i < 50; i++){
		
		scanf("%d,%lf,%lf" , &stu[i] , &w , &h);
		if(stu[i] == 0) break;

		BMI = w / (h * h);

		if(BMI >= 25){
			BMIs[i] = stu[i];
		}
	}

	for(int i = 0; i < 50; i++){
		if(BMIs[i] != 0){
			cout << BMIs[i] << endl;
		}
	}

	return 0;
}

C++: #include<iostream>
using namespace std;
int main(void){
    int s;
    double w,h,BMI;
    char c;
    while(cin >> s >> c >> w >> c >> h){
        BMI=w/(h*h);
        if(BMI>=25)     cout << s << endl;
    }
}

C++: #include <iostream>
#include <iomanip>
#include <vector>
#include <cmath>
#include <algorithm>
#include <string>
#define shosu(x) fixed<<setprecision(x)
using namespace std;
typedef pair<int,int> P;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int,P> pip;
const int inf=(1<<31)-1;

int s;
double w,h;
char t;

int main(){
	while(cin>>s>>t>>w>>t>>h){
		if(w/(h*h)>=25) cout<<s<<endl;
	}
}

C++: #include<stdio.h>
int main(void)
{
	int ban;
	double tai,sin,BMI;
	while(scanf("%d %lf %lf",&ban,&tai,&sin)!=EOF) {
		BMI=tai/(sin*sin);
		if(BMI>=25.0){
		printf("%d\n",ban);
		}
	}
	return 0;
}

C++: #include<iostream>
#include<cstdio>
using namespace std;
int main(){
  int stnum;
  double wei;
  double hig;
  double BMI;
  while(scanf("%d,%lf,%lf",&stnum,&wei,&hig)!=EOF){
    BMI=wei/hig/hig;
    if(BMI>=25){
      cout<<stnum<<endl;
    }
  }
  return 0;
}

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

int main()
{
    int n;
    while(cin>>n)
    {
        cin.ignore();
        double w,h;
        cin>>w;cin.ignore();cin>>h;
        if(w/pow(h,2)>=25)cout<<n<<endl;
    }
    return 0;
}

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

struct data{
	int number;
	double weight;
	double tall;
};

int main(){
	data dt;
	while(scanf("%d,%lf,%lf",&dt.number,&dt.weight,&dt.tall)!=EOF){
		if(dt.weight/pow(dt.tall,2)>=25)cout<<dt.number<<endl;
	}
	return 0;
}

C++: #include<bits/stdc++.h>
using namespace std;
int main(){
  
  int n;
  double w,h;

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

  return (0);
}

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

int main(){
    int n;
    double w,h;
    while(scanf("%d,%lf,%lf", &n, &w, &h) != -1){
        double bmi = w/h/h;
        if(bmi >= 25)
            cout << n << endl;
    }
}

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

int main() {
  int num,number[10000],t=0;
  double weight,height,BMI[10000];
  while(scanf("%d,%lf,%lf",&num,&weight,&height) == 3) {
    BMI[t] = weight / (height * height);
    number[t] = num;
    t++;
  }
  for(int i=0;i<t;i++) {
    if(BMI[i] >= 25) {
      cout << number[i] <<endl;
    }
  }
}

C++: #include<stdio.h>

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