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<map>
#include<set>
#include<list>
#include<cmath>
#include<queue>
#include<stack>
#include<cstdio>
#include<string>
#include<vector>
#include<complex>
#include<cstdlib>
#include<cstring>
#include<numeric>
#include<sstream>
#include<iostream>
#include<algorithm>
#include<functional>

#define mp       make_pair
#define pb       push_back
#define all(x)   (x).begin(),(x).end()
#define rep(i,n) for(int i=0;i<(n);i++)

using namespace std;

typedef    long long          ll;
typedef    unsigned long long ull;
typedef    vector<bool>       vb;
typedef    vector<int>        vi;
typedef    vector<vb>         vvb;
typedef    vector<vi>         vvi;
typedef    pair<int,int>      pii;

const int INF=1<<29;
const double EPS=1e-9;

const int dx[]={1,0,-1,0},dy[]={0,-1,0,1};
map<int,double> stu;
int num;
double we;
double he;
int main(){
	while(~scanf("%d,%lf,%lf",&num,&we,&he)){
		double bmi = we/(he*he);
		if(bmi>=25){
			cout <<num<<endl;
		}
	}
	return 0;
}

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

int main(){
	int s;
	double h,w;
	char cnm[2];
	double BMI;
	
	while(cin>>s>>cnm[0]>>w>>cnm[1]>>h){
		BMI = w/pow(h,2);
		
		if(BMI>=25.0){
			cout<<s<<endl;
		}
	}

}

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

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<vector>

using namespace std;

int main(){
  int number;
  vector<int> BIGBMI;
  double weight, length, BMI;
  char c1, c2;

  while(cin >> number >> c1 >> weight >> c2 >> length){
    BMI = weight / (length * length);
    if(BMI >= 25)    
      BIGBMI.push_back(number);
  }

  for(vector<int>::size_type i=0; i != BIGBMI.size(); ++i)
    cout << BIGBMI[i] << endl;
  return 0;
}

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

int main(){
	char a;
	double weight,height;
	int number;
	
	while(cin>>number>>a>>weight>>a>>height){
		double bmi;
		bmi=weight/(height*height);
		if(25<bmi || 25==bmi){
			cout<<number<<endl;
		}
	}
	return 0;
}

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

int main(){
    int id;
    double weight;
    double height;

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

    return 0;
}

C++: #include <iostream>
#include <vector>
#include <string>
#include <stack>
#include <queue>
#include <deque>
#include <set>
#include <map>
#include <algorithm>	// require sort next_permutation count __gcd reverse etc.
#include <cstdlib>	// require abs exit atof atoi 
#include <cstdio>		// require scanf printf
#include <functional>
#include <numeric>	// require accumulate
#include <cmath>		// require fabs
#include <climits>
#include <limits>
#include <cfloat>
#include <iomanip>	// require setw
#include <sstream>	// require stringstream 
#include <cstring>	// require memset
#include <cctype>		// require tolower, toupper
#include <fstream>	// require freopen
#include <ctime>		// require srand
#define rep(i,n) for(int i=0;i<(n);i++)
#define ALL(A) A.begin(), A.end()

using namespace std;

typedef long long ll;
typedef pair<int, int> P;

int main()
{
//	cut here before submit 
//	freopen ("testcase.BMI", "r", stdin );
	int id;
	double w, h;
	while (scanf ("%d,%lf,%lf", &id, &w, &h ) != EOF ){
		double bmi = w/h/h;
		if (bmi >= 25. ){
			printf ("%d\n", id );
		} // end if
	} // end loop
		
	return 0;
}

C++: #include<iostream>
using namespace std;
int g;
double t,s;
char a;
int main(){
	for(;cin>>g>>a>>t>>a>>s;){
		if(t/(s*s)>=25)cout<<g<<endl;
	}
}

C++: #include <iostream>
#include <cstdio>
#include <string>
#include <sstream>
#include <algorithm>
#include <math.h>
//#include <map>
#include <iomanip>
#include <vector>

using namespace std;



int main()
{
	int bangou;
	float weight, height, bmi;
	
	while (~scanf("%d,%f,%f", &bangou, &weight, &height))
	{
		//cout << "bangou = " << bangou << " : weight = " << weight << " : height = " << height << endl;
		bmi = weight / height / height;
		//cout << "bmi = " << bmi << endl;
		if (bmi >= 25.0)
		{
			cout << bangou << endl;
		}
	}
	
	return 0;
}

C++: #include<stdio.h>
#include<stdlib.h>
#include<iostream>
#include<string>
#include<vector>
#include<math.h>
#include<queue>
#include <algorithm>
#include<functional>
#include<cstdlib>
#include<cmath>


#define REP(i, n) for(int i = 0;i < n;i++)
#define REPR(i, n) for(int i = n;i >= 0;i--)
#define FOR(i, m, n) for(int i = m;i < n;i++)
#define FORR(i, m, n) for(int i = m;i >= n;i--)
#define CI cin >>
#define CO cout <<
#define E << endl;

using namespace std;

typedef pair<int, int> P;
typedef pair<long, long> LP;
typedef pair<int, P> PP;
typedef pair<long, LP> LPP;



int dy[] = { 0, 0, 1, -1, 0 };
int dx[] = { 1, -1, 0, 0, 0 };

int A = 0, B = 0, K = 0, T = 0, W = 0, N = 0, H = 0;
double V = 0;
int n = 0;
double L = 0;
double S = 0;
double ar = 0, br = 0, cr = 0;
int answer = 0;

string C;
string sA, strB;
vector<vector<char>> map;
vector<double> num;
vector<string> str;

int sum = 0;

vector<int> value;
vector<int> weight;

int dp[110][10010];

int data_[210][2] = { -2 };

void input(void) {
	
	return;
}


int main(void) {
	int gakuseki = 0;
	double weight = 0;
	double height = 0;

	while (scanf("%d,%lf,%lf", &gakuseki, &weight, &height) != EOF) {
		if (weight / (height * height) >= 25.0) {
			CO gakuseki E
		}
	}

	
	



	return 0;
}

C++: #include <iostream>
#include <cstdio>
using namespace std;
int main(void){
	int num;
	double w,h;
	while(scanf("%d,%lf,%lf",&num,&w,&h) != EOF){
		if(w/(h*h)>=25.0) cout << num << "\n";
	}
	return 0;
}

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

int main(){
  double t[1000],s[1000];
  int i,j,n,num[1000];

  j=0;
  while(scanf("%d,%lf,%lf",&num[j],&t[j],&s[j])!=EOF){
    j++;
  }


  for(i=0;i<j;i++){

    // cout << t[i]/(s[i]*s[i])<<endl;
    if(t[i]/(s[i]*s[i]) >= 25.0)cout << num[i] << endl;

  }



}

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

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

    while( cin >> s >> p >> w >> p >> h )
    {
        double bmi = w / ( h * h );
        if( bmi >= 25 )
            cout << s << endl;
    }

    return 0;
}

C++: #include<iostream>
#include<cstdio>
#include<vector>
using namespace std;
int main(){
  vector<int> ans;
  int a;
  double b,c;
  for(;;){
    if(scanf("%d,%lf,%lf",&a,&b,&c) == EOF) break;
    if(b/(c*c)>=25) ans.push_back(a);
  }
  for(int i=0; i<ans.size(); i++) cout <<ans[i]<<endl;
  return 0;
}

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

int main()
{
	int num;
	double w,l;
	char dot;
	while(cin >> num >> dot >> w >> dot >> l){
		if(25.0 < w/(l*l))
			cout << num <<endl;
	}
	return 0;
}

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

int main()
{
	typedef struct 
	{
		int n;
		double kg;
		double m;
	} BMI_t;
	BMI_t bmi;

	while(scanf("%d, %lf,%lf", &bmi.n, &bmi.kg, &bmi.m)){
		if (bmi.kg / (bmi.m * bmi.m) >= 25)
		{
			cout << bmi.n << endl;
		}
	}

}