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 <vector>
#include <algorithm>
#include <string>
#include <sstream>
#include <bitset>
 
#define INPUT_FROM_FILE (0) 
#if INPUT_FROM_FILE
#include <fstream>
#endif


int main(int argc, char **argv){
	int s;
	double w, h;

#if INPUT_FROM_FILE
	//std::ifstream ifs("test.txt");
	FILE *fp = fopen("test.txt", "r");
#endif

#if INPUT_FROM_FILE
	while(fscanf(fp, "%d,%lf,%lf", &s, &w, &h) != EOF){
#else
	while(scanf("%d,%lf,%lf", &s, &w, &h) != EOF){
#endif
		if(w / (h * h) >= 25){
			std::cout << s << std::endl;
		}
	}


 
#if INPUT_FROM_FILE
	fclose(fp);
#endif
    return 0;
}

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

using namespace std;

int main() {

	double taiju;
	double sincho;
	int bango;
	char d;
	double BMI;

	while (cin >> bango >> d >> taiju >> d >> sincho) {
		BMI = taiju / (sincho * sincho);
		if (BMI > 25) {
			cout << bango << endl;
		}
	}

	return 0;
}

C++: #include <iostream>
using namespace std;
int main() 
{
    int s;
    double w, h, BMI;
    while(1) {
	scanf("%lf %lf %lf", s, w, h);	
	BMI = w / h / h;
	if (BMI >= 25)
            	cout << s << endl;
    }
    return 0;
}

C++: #include <stdio.h>
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);
    }
    
}

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

bool isOverBmiLimit(double w, double h);

int main()
{
    int ans = 0;
    string in_str;
    while(getline(cin, in_str))
    {
        istringstream stream(in_str);
        string field;
        vector<string> in_data;
        while (std::getline(stream, field, ',')) 
        {
            in_data.push_back(field);
        }
        double w = stod(in_data[1]);
        double h = stod(in_data[2]);
        if(isOverBmiLimit(w, h))
        {
                cout << in_data[0] << endl;
        }
    }
    return 0;
}

bool isOverBmiLimit(double w, double h)
{
    bool is_over25 = false;
    double bmi = w / h / h;
    if(isgreaterequal(bmi,25.0))
    {
        is_over25 = true;
    }
    return is_over25;
}

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

using namespace std;

void solve()
{
	int num;
	double weight, height;
	vector<int> Vec;
	while(scanf("%d,%lf,%lf", &num, &weight, &height))
	{
		if(weight / height / height >= 25)
		{
			Vec.push_back(num);
		}
	}
	for(int i = 0; i < Vec.size(); ++i)
	{
		cout << Vec[i] << endl;
	}
}

int main()
{
	solve();
	return(0);
}

C++: #include <stdio.h>
#include <algorithm>
#include <math.h>

using namespace std;


int main(){

	int id;
	double weight,height;

	while(scanf("%d,%lf,%lf",&id,&weight,&height)!=EOF){
		if((weight/(height*height)) >= 25.0){
			printf("%d\n",id);
		}
	}
	return 0;
}

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

int main() {
    int number;
    double weight, height;
    while (scanf("%d,%lf,%lf", &number, &weight, &height) != EOF) {
        double BMI = weight / (height * height);
        if (BMI >= 25) {
            cout << number << endl;
        }
    }
}

C++: #include<iostream>
#include<string>
#include<cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
int main(void){

	int n;
	double t,w;
	int flg=0;
	while(scanf("%d,%lf,%lf",&n,&w,&t)!=EOF){
	if(w/t/t>=25.0)flg=1,cout<<n<<endl;
	}
	if(flg==0)cout<<"該当なし"<<endl;


	return 0;
}

C++: 
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <string>
#include <vector>
#include <set>
#include <map>
using namespace std;

int main() {
	int s;
	double w, h;
	char a;
	while (cin >> s >> a >> w >> a >> h) {
		if (w / h / h >= 25.0) {
			cout << s << endl;
		}
	}
}

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

int main(){
    double s,w,h;
    while(scanf("%lf,%lf,%lf", &s, &w, &h)!=EOF){
        if(w/h/h >= 25.0){
            cout << s << endl;
        }
    }
    return 0;
}

C++: #include <cstdio>

int main()
{
  int num;
  double weight, height;
  while (~scanf("%d,%lf,%lf", &num, &weight, &height)) {
    if (weight / (height*height) >= 25.0)
      printf("%d\n", num);
  }
  return 0;
}

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

C++: #include<iostream>
#include<cstdio>
using namespace std;
int main(){
	int a=0;
	double b,c;
	while(~scanf("%d,%lf,%lf",&a,&b,&c)){
		if(b/(c*c) >= 25)
			cout << a << endl;
	}
}

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

C++: #include <iostream>
#include <utility>
#include <algorithm>
#include <string>
#include <vector>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <cstdlib>

typedef long long int ll;


using namespace std;

double weight,tall;


int main(){
	int n;
	while(scanf("%d,%lf,%lf",&n,&weight,&tall)!=EOF){
		if(weight>=25.0*tall*tall)cout<<n<<endl;
	}
}

C++: //↓template↓

#include "bits/stdc++.h"
using namespace std;
#define Would
#define you
#define all(n)  n.begin(),n.end()
const long long INF = 1e18;
const long long MOD = 1e9 + 7;
const double pi = acos(-1);
const int SIZE = 1 << 17;
int dx[] = { 1,0,-1,0 }, dy[] = { 0,1,0,-1 }, alp[30];
long long fac[200005], finv[200005], inv[200005];
vector<long long>dij;
struct edge { long long to, cost; };
vector<vector<edge> >G;

long long mod_pow(long long a, long long b) {
	long long res = 1, mul = a;
	for (int i = 0; i < 31; ++i) {
		if (b >> i & 1) {
			res *= mul;
			res %= MOD;
		}
		mul = (mul * mul) % MOD;
	}

	return res;
}

void addedge(int from, int to, int cost) {
	G[from].push_back({ to,cost });
	G[to].push_back({ from,cost });
}

//↑template↑

int main() {
	double a, b, c;
	char n, m;
	while (cin >> a >> n >> b >> m >> c) {
		if (b / (c*c) >= 25) { cout << a << endl; }
	}
}

C++: #include<stdio.h>

int main(){

double y,z;
int x;
while(scanf("%d,%lf,%lf",&x.&y,&z)!=EOF){
if((y/z/z)>=25)printf("%d\n",x);
}
return 0;
}

C++: #include <algorithm>
#include <map>
#include <vector>
#include <iostream>
#include <sstream>
#include <cstdio>
#include <cstring>
#include <cctype>
#include <cstdlib>
#include <cmath>
#include <string>
#include <queue>
using namespace std;

#define REP(i,n) for(int i=0; i<n; ++i)
#define IREP(it,array) for(vector<int>::iterator it=array.begin(); it!=array.end(); ++it)
#define SREP(it,array) for(vector<string>::iterator it=array.begin(); it!=array.end(); ++it)


class Student{
public:
  int num;
  double weight;
  double height;
  Student(int n, double w, double h){
    num =n;
    weight = w;
    height = h;
  }
};

int main()
{
  cout.setf(ios::fixed, ios::floatfield);
  cout.precision(6);

  int INF = 1000000;

  vector<Student> data;
  int n;
  double w,h;
  char d;
  while(cin >> n >> d >> w >> d >> h){
    Student d(n,w,h);
    data.push_back(d);
  }

  for(vector<Student>::iterator it=data.begin(); it!=data.end(); ++it){
    double bmi = it->weight / pow(it->height,2);
    if( bmi >= 25 )
      cout << it->num << endl;
  }

  return 0;
}

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

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

	while (scanf("%d,%lf,%lf", &num, &w, &h) != EOF){
		if (w / (h * h) >= 25.0){
			cout << num << endl;
		}
	}

	return (0);
}