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

int main(){
	int num;
	double h, w;
	while( scanf(" %d,%lf,%lf", &num, &w, &h) != EOF )
		if(w/h/h >= 25.0) printf("%d\n", num);
	return 0;
}

C++: #include<iostream>
using namespace std;
int main()
{
	int num;
	double weight,height;
	bool f=true;
	while(scanf("%d,%lf,%lf",&num,&weight,&height)!=EOF){
		if(weight/(height*height) >= 25){
			f = false;
			cout << num << endl;
		}
	}
	if(f) cout <<"ツ該ツ督鳴づ按つオ" << endl;
	return 0;
}

C++: #include<iostream>
#include<cstdio>
#include<algorithm>
#include<string>
#include<cmath>
using namespace std;
int num,stu[10000],cou;
double w,t,a;
int main(){
    while(scanf("%d,%lf,%lf",&num,&w,&t)!=EOF){
        a=t*t;
        stu[num]=w/a;
        cou++;
    }
    for(int i=1001;i<1001+cou;i++){
        if(stu[i]>=25)cout<<i<<endl;
    }
return 0;
}

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

using namespace std;

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

	while(scanf("%d", &num) != EOF){
		cin >> c >> w >> c >> h;
		if((double) w / h / h >= 25){
			cout << num << endl;
		}
	}

	return 0;
}

C++: #include<iostream>
#include<stdio.h>
#include<vector>
using namespace std;
int main()
{
	int s[50] = {};
	double w[50] = {};
	double h[50] = {};
	int i = 0;
	vector <int> sb(50, 0);
	while (scanf_s("%d,%f,%f", &s[i], &w[i], &h[i]) != EOF) {
		if ((w[i] / (h[i] * h[i])) >= 25) {
			sb.push_back(s[i]);
		}
		i++;
	}
	int j = 0;
	while (sb[j] == 0) {
		cout << sb[j] << endl;
		j++;
	}

	return 0;
}

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

using namespace std;

int main()
{
    int s;
    double w, h;
    while( scanf( "%d,%lf,%lf\n", &s, &w, &h ) != -1 ) {
        double const bmi = w / ( h * h );
        if ( bmi >= 25.0 )
            cout << s << endl;
    }
}

C++: #include <iostream>
#include <stdio.h>
#include <vector>

using namespace std;

void solve()
{
	int num;
	double weight, height;
	vector<int> Vec;
	while(scanf("%d,%lf,%lf", &num, &weight, &height) != EOF)
	{
		if(weight / height / height >= 25)
		{
			Vec.push_back(num);
		}
	}
	if(Vec.size())
	{
		for(int i = 0; i < Vec.size(); ++i)
		{
			cout << Vec[i] << endl;
		}
	}
	else
	{
		cout << "該当なし" << endl;
	}
}

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

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


double w, h;
bool BMI() {
	if (w / (h * h) >= 25) {
		return true;
	}
	else {
		return false;
	}

}

int main() {
	int s;
	char a, b;
	while (cin >> s >> a >> w >> b >> h ) {
		if (BMI()) {
			cout << s << endl;
		}
	}
}

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

int main()
{
	vector<int> res;
	int n;
	double kg, m;
	while (~scanf("%d,%lf,%lf", &n, &kg, &m)){
		double bmi = kg / (m * m);
		if (bmi >= 25.){
			printf("%d\n", n);
		}
	}
}

C++: #include <iostream>

using namespace std;

int BMI( double w , double h ){

  double bmi = w / (h * h);

  if( bmi >= 25 )return 1;
  else return 0;

}


int main(void){

  int stu;
  int out[10000];
  double w,h;
  char ten;
  int i = 0;

  while( cin >> stu >> ten >> w >> ten >> h ){

    switch( BMI(w,h) ){
    case 1:
      out[i++] = stu;
      break;
    case 0:
      continue;
    }
  }
  for( int j = 0 ; j < i ; j++ ) cout << out[j] << endl;
  return 0;
}

C++: #include <iostream>
#include <fstream>
#include <sstream>
#include <iomanip> 
#include <complex> 
#include <string>
#include <vector> 
#include <list>
#include <deque> 
#include <stack> 
#include <queue> 
#include <set>
#include <map>
#include <bitset>
#include <functional>
#include <utility>
#include <algorithm> 
#include <numeric> 
#include <typeinfo> 
#include <cstdio>
#include <cstdlib> 
#include <cstring>
#include <cmath>
#include <climits> 
#include <ctime>

using namespace std;
int num[100000],i=0;
double m[100000],kg[100000];
int main(void){
	while(~scanf("%d,%f,%f",num[i],kg[i],m[i])){
		i++;
	}
	for(int a=0;a<i;a++){
		if(kg[i]/pow(m[i],2)>=25)printf("%d\n",num[i]);
	}
	return 0;
}

C++: #include<iostream>
#include<stdio.h>
#include<vector>
using namespace std;
int main()
{
	int s[50] = {};
	double w[50] = {};
	double h[50] = {};
	int i = 0;
	vector <int> sb(50, 0);
	while (scanf("%d,%f,%f", &s[i], &w[i], &h[i]) != EOF) {
		if ((w[i] / (h[i] * h[i])) >= 25) {
			sb.push_back(s[i]);
		}
		i++;
	}
	int j = 0;
	while (sb[j] == 0) {
		cout << sb[j] << endl;
		j++;
	}

	return 0;
}

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

int main(){
  int no;
  double w, h, bmi;
  while(~scanf("%lf,%lf,%lf", &no, &w, &h)) {
    if(w / h / h >= 25)
      printf("%d\n", no);
  }
  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)){
    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 <cstdio>
using namespace std;
int main(void)
{
    int num;
    double w,h;
    while(~scanf("%d,%lf,%lf",&num,&w,&h)) {
        double bmi = w / h / h;
        if(bmi >= 25.0)
            printf("%d\n",num);
    }
    return 0;
}

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

int main(){
    int N;
	double W,H;
	while(~scanf("%d,%lf,%lf",&N,&W,&H)){
		if(W/(H*H)>=25) printf("%d\n",N);
	}
    return 0;
}

C++: #include<iostream>

using namespace std;

int main(void) {
  int id;
  char c;
  double weight;
  double height;

  while(cin >> id >> c) {
    cin >> weight >> c;
    cin >> height;

    double bmi = weight / (height * height);
    if(bmi >= 25) {
      cout << id << endl;
    }
  }
  return 0;
}

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) {
			printf("%d\n", id);
		}
	}
	return 0;
}

C++: #include <iostream>

using namespace std;

void solve()
{
	int Num = 0;
	double mass = 0;
	double height = 0;
	bool flag = false;
	while(scanf("%d,%lf,%lf", &Num, &mass, &height))
	{
		if(mass / height / height >= 25)
		{
			cout << Num << endl;
			flag = true;
		}
	}
	if(!flag)
	{
		cout << "ツ該ツ督鳴づ按つオ" << endl;
	}
}

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

C++: #include <iostream>
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 <cstdio>

using namespace std;

const double LIMIT = 25;

bool bmi(double weight, double hight) {
	if ((weight / (hight * hight)) >= LIMIT) {
		return true;
	} else {
		return false;
	}
}

int main() {
	int student_num;
	double weight;
	double hight;
	while (scanf("%d,%lf,%lf", &student_num, &weight, &hight) != EOF) {
		if (bmi(weight, hight)) {
			printf("%d\n", student_num);
		}
	}
	
	return 0;
}