Go: package main

import (
	"bufio"
	"fmt"
	"os"
	"strconv"
)

var scanner = bufio.NewScanner(os.Stdin)

func nextString() string {
	scanner.Scan()
	return scanner.Text()
}

func nextInt() int {
	n, err := strconv.Atoi(nextString())
	if err != nil {
		fmt.Printf("strconv.Atoi failed: %v\n", err)
	}
	return n
}

func nextFloat64() (float64, error) {
	return strconv.ParseFloat(nextString(), 64)
}

func main() {
	scanner.Split(bufio.ScanWords)

	for {
		var s int
		var w, h float64
		_, err := fmt.Scanf("%d,%f,%f", &s, &w, &h)

		if err != nil {
			break
		}

		if w/(h*h) >= 25 {
			fmt.Println(s)
		}
	}
}

C++: #define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <iostream>
#include <cstdio>
#include <vector>
#include <string>
#include <array>
#include <queue>
#include <deque>
#include <set>
#include <list>
#include <map>
#include <stack>
#include <utility>
#include <bitset>
#include <complex>
#include <algorithm>
#include <numeric>
#include <cstdlib>
#include <cmath>
#include <cctype>
#include <cstring>
#include <climits>
#include <random>
#include <functional>
#include <sstream>
#include <iomanip>

using namespace std;

#define rep(i, n) for(int i=0; i<(n); i++)
#define FOR(i, m, n) for(int i=(m);i<(n);i++)
#define sz(x) ((int)(x).size())
#define all(x) (x).begin(),(x).end()
#define SORT(x) sort((x).begin(),(x).end())
#define REVE(x) reverse((x).begin(),(x).end())
#define mp make_pair
#define pb push_back
#define Cout(x) cout << (x) << endl;
#define dump(x) cout << #x << " = " << (x) << endl;
#define forauto(i, a) for(auto i:a)cout << i << " "; puts("");

typedef long long LL;
typedef vector<int> VI;
typedef vector<LL> VL;
typedef vector<string> VS;
typedef vector<bool> VB;
typedef vector<vector<int>> VVI;
typedef pair<int, int> PII;
typedef pair<double, double> PDD;
typedef complex<double> CD;

int main() {
	int s; double w, h; char c;
	while (cin >> s >> c >> w >> c >> h) {
		double bmi = w / pow(h, 2);
		if (25 <= bmi)Cout(s);
	}
}

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