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>
#include<vector>
#include<cstdio>
#include<cmath>
using namespace std;

struct data{
	int number;
	double weight;
	double tall;
};

int main(){
	data dt;
	while(scanf("%d,%lf,%lf",&dt.number,&dt.weight,&dt.tall)!=EOF){
		if(dt.weight/pow(dt.tall,2)>=25)cout<<dt.number<<endl;
	}
	return 0;
}

C++: #include<bits/stdc++.h>
using namespace std;
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);
  }

  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>
using namespace std;

int main() {
  int num,number[10000],t=0;
  double weight,height,BMI[10000];
  while(scanf("%d,%lf,%lf",&num,&weight,&height) == 3) {
    BMI[t] = weight / (height * height);
    number[t] = num;
    t++;
  }
  for(int i=0;i<t;i++) {
    if(BMI[i] >= 25) {
      cout << number[i] <<endl;
    }
  }
}

C++: #include<stdio.h>

int main(){
	int l;
	double m,n;
	while(scanf("%d,%lf,%lf",&l,&m,&n)){
		if(25.0<=m/(n*n))printf("%d\n",l);
	}
		return 0;
}

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

#define gcu getchar_unlocked
#define ii inline int in
#define is inline bool scan
ii(int c) {
	int n = 0;
	bool minus = false; if (c == '-') minus = true, c = gcu();
	do {n = 10 * n + (c - '0'), c = gcu();} while (c >= '0');
	//return n; }
	return minus ? -n : n; }
ii() {return in(gcu());}
is(int &n) {int c=gcu();return c==EOF?false:(n=in(c),true);}
is(char &c){c=gcu();gcu();return c!=EOF;}
//is(string &s) {int c;for(;;){c=gcu();if(c=='\n'||c==' ')return true;s+=c;}}
#undef ii
#define pcu putchar_unlocked
template <typename T>
void out(T n) {
	static char buf[20];
	char *p = buf;
	if(n < 0) pcu('-'), n *= -1;
	if (!n) *p++ = '0';
	else while (n) *p++ = n % 10 + '0', n /= 10;
	while (p != buf) pcu(*--p); }
void out(const char *s){while(*s)pcu(*s++);}
void out(char c){pcu(c);}
//void out(string &s){for (char c: s) pcu(c);}
template <typename head, typename... tail>
void out(head&& h, tail&&... t){out(h);out(move(t)...);}
//template <typename T>
//void out(vector<T> &v){for(T &x:v)out(' '),out(x);out('\n');}
//void out(vector<T> &v){for(T &x:v)out(&x == &v[0]?"":" "),out(x);out('\n');}
#undef svo

int main() {
	int n;
	float w, h;
	while (scanf("%d,%f,%f", &n, &w, &h) != EOF) {
		if (w / (h * h) >= 25)
			out(n, '\n');
	}
}

C++: #include <cstdio>
#include <vector>
using namespace std;
const double BMI_FAT = 25.0;

int main(int argc, char *argv[]) {
	vector<int> fat_list;
	
	int id;
	float mass, height;
	while (EOF != fscanf(stdin, "%d,%f,%f", &id, &mass, &height)) {
		float bmi = mass / (height * height);
		if (BMI_FAT <= bmi) {
			fat_list.push_back(id);
		}
	}
	// print
	const int list_size = static_cast<int>(fat_list.size());
	if (list_size > 0) {
		for (int i = 0; i < list_size; i++) {
			printf("%d\n", fat_list[i]);
		}
	}
	else {
		puts("ツ該ツ督鳴づ按つオ");
	}
	return 0;
}

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

const double EPS = 1e-9;

//æØè¶ÅæØéB
//s=üÍ,t=æØè¶
std::vector<string> splitAll(string s,string t){

  std::vector<string> v;

  for(int p=0; (p = s.find(t)) != s.npos; ){
    v.push_back(s.substr(0,p));
    s=s.substr(p+t.size());
  }
  v.push_back(s);

  return v;
}


int main() {

  string s;
  while(getline(cin,s)){
    if( s=="" ) break;
    vector<string> v;
    v = splitAll(s,",");
    double w = atof( v[1].c_str() );
    double h = atof( v[2].c_str() );
    if( (w/(h*h) - 25.0) > EPS ) {
      cout<<v[0]<<endl;
    }
  }
}

C++: #include <iostream>
using namespace std;
int main() {
    int n;
    double w, h;
    char d;
    while (cin >> n >> d >> w >> d >> h) {
        if (w / (h * h) >= 25) {
            cout << n << "\n";
        }
    }
    return 0;
}

C++: #include <stdio.h>

int main(){
  int s;
  double w,h;
  while(scanf("%d,%lf,%lf",&s,&w,&h)!=EOF){
    double BMI = w / (h*h);
    if(BMI>=25) printf("%d\n",(int)s);
  }
  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;
		}
	}
	return 0;
}

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

#define FOR(i,a,b) for(long long int i=(a);i<(b);i++)
#define REP(i,n) for(long long int i=0;i<(n);i++)
#define ALL(s) (s).begin(),(s).end()

#define PI 3.14159265358479

typedef long long ll;
typedef vector<long long int> vi;
typedef vector<long long int>::iterator vit;

int main(){
	int n, c = 0;
	double l, m;
	vector<ll> vi;
	while (scanf("%d,%lf,%lf", &n, &l, &m) != EOF){
		if (l / powl(m, 2) >= 25){
			vi.push_back(n);
			c++;
		}
	}
	if (c == 0){
		cout << "????????????\n";
	}
	else{
		REP(i, c){
			cout << vi[i] << "\n";
		}
	}
	return 0;
}

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

int main() {
	int s;
	double w, h;
	std::vector <int> fat;
	while (std::cin >> s >> w >> h) {
		if (w / h / h >= 25){
			fat.push_back(s);
		}
	}
	for (int i = 0; i < fat.size(); i++){
		cout << fat[i] << endl;
	}
	return 0;
}

C++: #include<iostream>
#include<sstream>
#include<fstream>
#include<vector>
#include<list>
#include<stack>
#include<queue>
#include<deque>
#include<set>
#include<map>
#include<algorithm>
#include<string>
#include<utility>
#include<cmath>
#include<cstdlib>
#include<cstdio>
#include<cstring>
#include<cctype>
using namespace std;


int main(){
	int n;
	double a,b;
	map<int,double> data;
	
	while(scanf("%d,%lf,%lf",&n,&a,&b) != EOF){
		data[n] = a/pow(b,2);
	}
	
	for(map<int,double>::iterator it = data.begin();it!=data.end();++it){
		if( it->second > 25.0){
			printf("%d\n",it->first);
		}
	}

}

C++: #include <iostream>
#include <cmath>
using namespace std;
int main(void){
    int s;
    double w, h;
 
    while(scanf("%d, %lf, %lf", &s, &w, &h) != EOF){
        double BMI;
        BMI = w / pow(h, 2);
        if(BMI >= 25){
            cout << s << endl;
        }
    }
}

C++: #include <iostream>
#include <algorithm>
using namespace std;
int main(void){
    int a;
    char d;
    double b,c;
    
    while(cin>>a>>d>>b>>d>>c) {
        if(b/(c*c)>=25) cout << a << endl;}

    
}

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

int main()
{
  int id;
  char k;
  double wei, hei;
  while(cin >> id >> k >> wei >> k >> hei)
    if(25 <= wei / (hei * hei))
      cout << id << endl;
}

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

int main() {
  int n;
  double w, h, bmi;
  char c;

  while (cin >> n >> c >> w >> c >> h) {
    bmi = w/(h*h);
    if (bmi >= 25.0) cout << n << endl;
  }

  return 0;
}