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

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

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

     return 0;
}

C++: #include <iostream>

using namespace std;

void solve()
{
	int Num = 0;
	double mass = 0;
	double height = 0;
	while(~scanf("%d,%lf,%lf/n", &Num, &mass, &height))
	{
		if(mass / (height * height) >= 25.0)
		{
			cout << Num << endl;
		}
	}
}

int main()
{
	solve();
	return(0);
}

C++: #include <cstdio>
#include <cmath>
#include <vector>
using namespace std;
int main() {
	vector<int> over;
	int num;
	double w, h;
	while (scanf("%d,%f,%f",&num,&w,&h)!=EOF) {
		double bmi = w/pow(h,2);
		if (bmi>=25) over.push_back(num);
	}
	if (over.empty()) {
		printf("ツ該ツ督鳴づ按つオ\n");
	} else {
		for (int i=0; i<over.size(); i++) printf("%d\n",over[i]);
	}
}