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<functional>
#include<algorithm>
#include<iostream>
#include<utility>
#include<string>
#include<vector>
#include<cmath>
#include<stack>
#include<queue>
#include<deque>
#include<map>
#define rep(i,n) for(int i=0;i<n;i++)
#define loop(i,x,n) for(int i=x;i<n;i++)
#define all(v) (v).begin(),(v).end()
#define pf push_front
#define pb push_back
#define int long long
using namespace std;
const int INF=1000000007;
int dx[4]={1,0,-1,0};
int dy[4]={0,1,0,-1};

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

C++: main(n){double w,t;for(;~scanf("%d,%f,%f",&n,&w,&t);w/t/t>=25?printf("%d\n",n):0);}

C++: #define _USE_MATH_DEFINES
#define _CRT_SECURE_NO_WARNINGS

#include <iostream>
#include <string>
#include <sstream>
#include <iomanip>
#include <cmath>
#include <cstring>
#include <cstdlib>
#include <algorithm>
#include <stack>
#include <queue>
#include <vector>
#include <list>
#include <set>
#include <map>
#include <bitset>
#include <utility>
#include <numeric>

using namespace std;

using ll = long long;
using ull = unsigned long long;

const ll inf = (ll)1e9;
const ll mod = (ll)1e9 + 7;

int main()
{
	string s;
	vector<int> a;
	while (cin >> s)
	{
		stringstream ss;
		ss << s;

		int id;
		double w, h;
		ss >> id;
		ss.ignore();
		ss >> w;
		ss.ignore();
		ss >> h;

		if (w / (h * h) >= 25.0)
		{
			a.push_back(id);
		}
	}

	for (int i : a)
	{
		cout << i << endl;
	}
}

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

int main()
{
	int gakuseki;
	double sin, tai;

	while (scanf("%d, %lf, %lf", &gakuseki, &tai, &sin) != EOF){
		if (tai / (sin * sin) >= 25) cout << gakuseki << endl;
	}
	
	return (0);
}

C++: #include "bits/stdc++.h"
using namespace std;

int main() {
	double a,c,e;
	char b,d;
	while(cin>>a>>b>>c>>d>>e){
		if (c/e/e>=25.0) {
			cout<<a<<endl;
		}
	}
}

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

int main()
{
    int id;
    double weight, height;
    vector<int> table;
    while(scanf("%d,%lf,%lf", &id, &weight, &height)!=EOF){
        double bmi = weight/(height*height);
        if(bmi>=25) table.push_back(id);
    }

    vector<int>::iterator i;
    for(i=table.begin(); i!=table.end(); i++) cout << *i << endl;
    
    return 0;
}

C++: #include <iostream>
#include <vector>
#include <cstdio>
#include <stdio.h>
using namespace std;
int main(){
	vector<int> num;
	vector<double> h;
	vector<double> w;
	vector<double> bmi;
	int n;
	double height,weight;
	while(scanf("%d,%lf,%lf",&n,&weight,&height)!=EOF){
		num.push_back(n);
		h.push_back(height);
		w.push_back(weight);
		bmi.push_back(weight/height/height);
	}
	int c=0;
	for(int i=0;i<num.size();i++){
		if(bmi[i]>=25.0){
			c++;
			cout<<num[i]<<endl;
		}
	}
	if(c==0)
		cout<<"該当なし"<<endl;
	return 0;
}

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

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

C++: #include<iostream>
#include<sstream>
using namespace std;
int main(){
  string s;
  while(cin >> s) {
    for(int i=0;i<s.size();i++) if(s[i]==',') s[i]=' ';
    stringstream ss(s);
    int id;double w,h;
    ss >> id >> w >> h;
    double bmi=w/(h*h);
    if(bmi>=25.0) cout << id << endl;
  }
}

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

using namespace std;

vector<string> split(string s, char delim = ',');
void dataInput(vector<vector<string> > &data);
double calcBMI(double w, double h);
void showFat(vector<vector<string> > data);

int main() {
  vector<vector<string> > data;

  dataInput(data);

  return 0;
}

vector<string> split(string s, char delim) {
	size_t pos = 0;
	vector<string> ret;
	while ((pos = s.find(delim)) != string::npos) {
		ret.push_back(s.substr(0, pos));
		s.erase(0, pos + 1);
	};
	ret.push_back(s);
	return ret;
}

void dataInput(vector<vector<string> > &data) {
  int i = 0;
  string temp;
  while(!cin.eof()) {
    cin >> temp;
    data[i].pushback(split(temp));

    i++;
  }

}

double calcBMI(double w, double h) {
  double BMI = 0.0;

  BMI = w / (h * h);

  return BMI
}

void showFat(vector<vector<string> > data) {
  int cnt = 0;
  double w = 0.0;
  double h = 0.0;

  while(cnt < data.size()) {
    w = stod(data[cnt][1]);
    h = stod(data[cnt][2]);
    if(25.0 <= calcBMI(w,h) {
      cout << data[cnt][0] << "\n";
    }
  }
}

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

int main()
{
    int n;
    double w, h;
    while(scanf("%d,%lf,%lf", &n, &w, &h) != EOF){
        if(25 * h * h <= w) {
            printf("%d\n", n);
        }
    }
}

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

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

using namespace std;

int main(void)
{
	int num;
	double weight, height, bmi;
	
	while(scanf("%d,%lf,%lf", &num, &weight, &height) != EOF ){
		printf("%d %f %f\n", num, weight, height);
		bmi = weight / (height * height);
		
		if(bmi >= 25)
		cout << num << endl;
	}
	return 0;
}

C++: #include<iostream>
#include<stdio.h>
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(scanf("%d,%lf,%lf",&student,&Kg,&m)){
    if(BMI(Kg,m) >= 25){
      cout << student << endl;
    }
  }
}

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

double calcBMI(double weight, double height) {
    return(weight / (height*height));
}

int main(void) {
    int no;
    double weight, height;
    vector<int> selection;
    while(scanf("%d,%lf,%lf", &no, &weight, &height) != EOF) {
        if(calcBMI(weight, height) > 25) {
            selection.push_back(no);
        }
    }
    vector<int>::iterator ite;
    for(ite = selection.begin(); ite != selection.end(); ite++) {
        cout << *ite << 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<cstdio>
#include<iostream>
#include<queue>

using namespace std;

int main(void){

	int num;
	double m,kg;
	queue<int> out;
	char gava;

	while(cin>>num>>gava>>kg>>gava>>m){
		if(kg/(m*m)>=25){
			out.push(num);
		}
	}

	while(!out.empty()){
		cout<<out.front()<<endl;
		out.pop();
	}

	return 0;
}

C++: #include <bits/stdc++.h>

using namespace std;

int main() {
    int s;
    double w, h;
    vector<int> ans;
    while (scanf("%d,%lf,%lf!", &s, &w, &h) != EOF) {
        double bmi = w / (h * h);
        if (bmi >= 25.0) ans.push_back(s);
    }

    for (int i = 0; i < ans.size(); i++)
        cout << ans[i] << endl;

    return 0;
}

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