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 <stdio.h>
#include <math.h>
#include <iomanip>

using namespace std;


int main(void)
{
     int n;
    while(cin>>n){
       
        double w,h;
        scanf(",%lf,%lf",&w,&h);
        //cin>>n>>w>>h;
        double bmi = w/(h*h);
        if(bmi>=25.0)cout<<n<<endl;
    }
    
}

C++: #include <stdio.h>

int main(void) {
	int id;
	double w, h;

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

	return 0;
}

C++: #include<stdio.h>
int main(){
	float a,b,c;
	printf("????¢¨??????????????????????????\???????????????:");
	while(1){
		scanf("%f",&a);
		if(a<85){
			printf("????????????\n??????????????\?????????:");
		}
		else{
			printf("?????????????????§?????????(^??^)9m??????????????¬??°\n");
			break;
		}
	}
	printf("???????????\???????????????(m):");
	scanf("%f",&b);
	c=a/(b*b);
	if(c<22){
		printf]("????????????BMI???%1.0f?????¨???????????§????????¨??£??¨??¨??????????????£?????????????????????\n",c);
	}
	else if(c>=25){
		printf("????????????BMI???%1.0f???????????°??????????????§??????\n",c);
	}
	else{
		printf("????????????BMI???%1.0f????¨??????§??????(??????\n",c);
	}
	return 0;
}

C++: #include <stdio.h>
#include <math.h>
int main(){
    int ban,i=0,bmi,cnt=0,kiroku[1000];
    double tai[1000],sin[1000];
    while(scanf("%d,%lf,%lf",&ban,&tai[i],&sin[i])!=EOF){
        bmi=tai[i]/(sin[i]*sin[i]);
        if(bmi>=25){
            kiroku[cnt]=ban;
            cnt++;
        }
        i++;
    }
    for(i=0;i<cnt;i++){
        printf("%d\n",kiroku[i]);
    }
    return 0;
}

C++: #include <iostream>
#include <cfloat>
#include <cmath>
using namespace std;
 
 
//0075
int main(){
	int num;
    double w, h;
    char ch;

	while(cin >> num >> ch >> w >> ch >> h){
		double bmi = w/(h*h);
		if(bmi >= 25.0 - DBL_EPSILON){
			cout << num << endl;
		}
	}
	return 0; 
}

C++: #include<stdio.h>
int main(){
	float a,b,c;
	printf("????¢¨??????????????????????????\???????????????:");
	while(1){
		scanf("%f",&a);
		if(a<85){
			printf("????????????\n??????????????\?????????:");
		}
		else{
			printf("?????????????????§?????????(^??^)9m??????????????¬??°\n");
			break;
		}
	}
	printf("???????????\???????????????(m):");
	scanf("%f",&b);
	c=a/(b*b);
	if(c<22){
		printf("????????????BMI???%1.0f?????¨???????????§????????¨??£??¨??¨??????????????£??????????????????\n",c);
	}
	else if(c>=25){
		printf("????????????BMI???%1.0f???????????°??????????????§??????",c);
	}
	else{
		printf("????????????BMI???%1.0f????¨??????§??????(??????\n",c);
	}
	return 0;
}

C++: #include<iostream>
using namespace std;
double BMI(double Kg,double m){
  double bmi;
  bmi = Kg / (m * m);
  return bmi;
}

int main(){
  double Kg,m;
  int student;
  while(cin >> student >>Kg >> m){
    if(BMI(Kg,m) >= 25){
      cout << student << endl;
    }
  }
}

C++: #include <cstdio>
#include <iostream>
#include <vector>

using namespace std;

int main() {
	vector<int> ans;
	int a;
	double b,c;
	while(scanf("%d,%f,%f",&a,&b,&c) != EOF){
		if((int)(c/(b*b)) >= 25) ans.push_back(a);
	}
	for(int i=0; i<ans.size(); i++){
		cout<<ans[i]<<endl;
	}
	return 0;
}

C++: int main()
{
        int s;
        double w, h;

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

        return 0;
}

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

int main()
{
     int id;
     double h, w;
     while (scanf("%d,%lf,%lf", &id, &w, &h)) {
          double b = (double)w / (h * h);
          if (b >= 25.0) cout << id <<endl;
     }

     return 0;
}

C++: #include<bits/stdc++.h>
using namespace std;
#define all(vec) vec.begin(),vec.end()
typedef long long int ll;
typedef pair<int,int> P;
const ll MOD=1000000007;
const ll INF=1000000010;
const ll LINF=4000000000000000010LL;
const int MAX=310;
const double EPS=1e-9;
int dx[4]={0,1,0,-1};
int dy[4]={1,0,-1,0};
int main(){
    vector<int>ans;
    double s,w,h;
    while(scanf("%d,%f,%f",&s,&w,&h)){
        if(w/(h*h)>=25){
            ans.push_back(s);
        }
    }
    for(auto a:ans){
        cout<<a<<endl;
    }
}

C++: #include <bits/stdc++.h>
#define r(i,a,n) for(int i=a;i<n;i++)
using namespace std;
int main(){
	int a;
	double b,c;
	while(scanf("%d,%lf,%lf",&a,&b,&c)){
		if(25<=(b/(c*c)))cout<<a<<endl;
	}
}

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

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

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

  return 0;

}

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

int main(){
  double s,h,w;
  char c;
  while(cin>>s>>c>>w>>c>>h){
    if(25<=w/h/h)cout<<s<<endl;
  }
  return 0;
}

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

#define REP(i,n) for(int i=0;i<(int)n;++i)
#define FOR(i,c) for(__typeof((c).begin())i=(c).begin();i!=(c).end();++i)
#define ALL(c) (c).begin(), (c).end()

int main() {
  int x;
  double w, h;
  while(scanf("%d,%lf,%lf\n",&x,&w,&h)==3)
    if (w/h/h>=25) cout << x << endl;
}

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

int main(){
	int num;
	double t,s;
	while(scanf("%d,%lf,%lf",&num,&t,&s)!=EOF){
		double ans = t / (s * s);
		if(ans >= 25.0){
			cout << num << endl;
		}
	}
}

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

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

C++: #include <iostream>
using namespace std;
double weight,height;
int main(){
	int n,tn;
	char tmp[2];
	while(1){
		if(cin.eof()) break;
		else cin >> n >> tmp[0] >> weight >> tmp[1] >> height;
		tn = weight / (height * height);
		if(tn >= 25.0) cout << n << endl;
	}
	return 0;
}

C++: #include <string>
#include <vector>
#include <algorithm>
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <queue>
#include <typeinfo>
#include <map>
#define INF 100000000
#define rep(i,a) for(int i=0;i<(a);i++)

using namespace std;
typedef long long ll;



int main(){
    char z;
    double a,b,c;
    while(cin>>a>>z>>b>>z>>c){
        if(b/(c*c)>=25)cout<<a<<endl;
        
    }
    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>
#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.0)
      cout<<s<<endl;

  }
}