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++: #include<iostream>
using namespace std;
int num; double h, w; char a;
int main() {
	while (cin >> num >> a >> h >> a >> w) {
		if (h*h * 25 <= w) {
			cout << num << endl;
		}
	}
}

C++: #include <iostream>
#include <string>
#include <algorithm>
#include <cstdio>
#include <math.h>
using namespace std;

int main()
{
	int gakuban,ctr=0;;
	double tai,si;
	while(scanf("%d,%lf,%lf",&gakuban,&tai,&si) != EOF){
	//	scanf("%d,%f,%f",&gakuban,&tai,&si);
		double bmi = tai/(si*si);
		if(bmi >= 25){
			cout << gakuban << endl;
			++ctr;
		}
	}
	if(!ctr)	cout << "該当なし" << endl;
}

C++: #include <iostream>

using namespace std;

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

	while(cin >> num >> w >> h){
		bmi = w / h / h;
		if(bmi >= 25)
		{
			cout << num << endl;
		}
	}

	return 0;
}

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

struct student
{
	int num;
	double weight;
	double hight;
	double bmi;
};

int main()
{
	student seito;

	while (scanf("%d,%lf,%lf",&seito.num,&seito.weight,&seito.hight)!=EOF)
	{
		seito.bmi = seito.weight / (seito.hight*seito.hight);
		if (seito.bmi >= 25)
		{
			cout << seito.num << endl;
		}
	}
	return 0;
}

C++: #include <iostream>

using namespace std;

int main(void) {
	
	while(1) {
		int num;
		cin >> num;
		if(cin.eof())	{ break; }
		
		double w, h;
		cin >> w >> h;
		
		if(w / h / h >= 25.0) {
			cout << num << endl;
		}
	}
	return 0;
}

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

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

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

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

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

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