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

int s;
double w, h;

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

C++: #include<bits/stdc++.h>
using namespace std;
#define all(vec) vec.begin(),vec.end()
typedef long long int ll;
typedef pair<int,int> P;
const ll MOD=1000000007;
const ll INF=1000000010;
const ll LINF=4000000000000000010LL;
const int MAX=310;
const double EPS=1e-9;
int dx[4]={0,1,0,-1};
int dy[4]={1,0,-1,0};
int main(){
    vector<int>ans;
    int s,w,h;
    while(cin>>s>>w>>h){
        if(w/(h*h)>=25){
            ans.push_back(s);
        }
    }
    for(auto a:ans){
        cout<<a<<endl;
    }
}

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

using namespace std;

#define dump(n) cout<<"# "<<#n<<"="<<(n)<<endl
#define debug(n) cout<<__FILE__<<","<<__LINE__<<": # "<<#n<<"="<<(n)<<endl
#define repi(i,a,b) for(int i=int(a);i<int(b);i++)
#define rep(i,n) repi(i,0,n)
#define iter(c) __typeof((c).begin())
#define tr(c,i) for(iter(c) i=(c).begin();i!=(c).end();i++)
#define allof(c) (c).begin(),(c).end()
#define mp make_pair

typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<string> vs;
typedef pair<int,int> pii;

int main()
{
	for(int n;cin>>n;){
		double weight,height;
		scanf(",%lf,%lf",&weight,&height);
		if(weight/pow(height,2)+1e-10>25)
			cout<<n<<endl;
	}
	
	return 0;
}

C++: #include <cstdio>

int main()
{
        int s;
        double w, h;

        while (scanf("%d,%lf,%lf", &s, &w, &h) != EOF) {
                double bmi = w / (h * h);
                if (bmi > 25.0) {
                        printf("%d\n", s);
                }
        }

        return 0;
}

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

#define N 50 //生徒の最大人数

int main(void) {
	int s;
	double w, h;
	int id[N];
	int count = 0;
	
	while(scanf("%d,%lf,%lf", &s, &w, &h) != EOF) {
		double BMI = w / (h * h);
		if(BMI >= 25) {
			id[count] = s;
			++count;
		}
	}
	
	for(int i = 0; i < count; ++i) {
		cout << id[i] << endl;
	}
	
	return 0;
}

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

int main()
{
    int stnum;
    char t;
    double w,h;
    list<int> himan;
    while(cin >> stnum >> t >> w>>t>>h)
    {
        if(w/h/h >= 25)
            himan.push_back(stnum);
    }
    if(himan.size()==0)cout << "ツ該ツ督鳴づ按つオ"<<endl;
    else
    {
        for(list<int>::iterator it=himan.begin();it!=himan.end();++it)
        {
            cout << *it<< endl;
        }

    }
    return 0;
}

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

int main(){
    int n;
    char c;
    double w,h;
    while(cin >> n >> c >> w >> c >> h){
    	if(w / h / h >= 25){
    		cout << n << endl;
    	}
    }
    return 0;
}

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

int main(){
	int n;
	char t;
	double h,w;
	while(cin>>n>>t>>w>>t>>h){
		if(w/h/h>=25){
			cout<<n<<endl;
		}
	}
}

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<stdio.h>
 #include<string>
 #include<math.h>
 #include<iomanip>
 #include<algorithm>
 #include<string.h>
 #include<cctype>
 #include<map>
 #include<set>
 #include<vector>
 #include<sstream>
 #include<stack>
 #include<queue>
 #include<deque>
 #include<functional>
 #include<utility>
 
 using namespace std;
 
 int main()
 {
   int num;
   double w,h;
   map<int,double> mm;
   map<int,double>::iterator iter;
   char temp1,temp2;
   while(cin>>num>>temp1>>w>>temp2>>h) mm[num]=w/(pow(h,2));                       
   for(iter=mm.begin();iter!=mm.end();++iter)
   {
     if(iter->second>=25) cout<<iter->first<<endl;                                          
   }
   //while(1);
   return 0; 
 }

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

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

}

C++: #include <iostream>

using namespace std;

int main()
{
	int s;
	double w, h;
	char dummy;
	
	while ( cin >> s >> dummy >> w >> dummy >> h ) {
		double bmi = w / (h*h);
		if (bmi >= 25.0) cout << s << endl;
	}
	
	return 0;
}

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

using namespace std;
using ll = long long;
using pii = pair<int, int>;

int main() {
  cin.tie(0);
  ios_base::sync_with_stdio(false);
  cout << fixed << setprecision(10);
  
  int s;
  double w, h;
  char c;
  while (cin >> s >> c >> w >> c >> h) {
    double bmi = w / (h * h);
    if (bmi - 25 > -1e-10) cout << s << endl;
  }

  return 0;
}

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

int main()
{
	int id;
	double kg, m;

	while (scanf("%d,%lf,%lf", &id, &kg, &m) != EOF) {
		if (kg/m/m >= 25.0) cout<<id<<endl;
	}

	return 0;
}

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

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

}

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

int main(){
	char a;
	double weight,height;
	int number;
	
	while(cin>>number>>a>>weight>>a>>height){
		double bmi;
		bmi=weight/(height*height);
		if(25<bmi){
			cout<<number<<endl;
		}
	}
	return 0;
}

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

using namespace std;

int main() {
	vector<int> ans;
	int a;
	double b,c;
	while(scanf("%d,%f,%f",a,b,c)){
		if((int)(c/(b*b)) >= 25) ans.push_back(a);
	}
	for(int i=0; i<ans.size(); i++){
		cout<<ans[i]<<endl;
	}
	return 0;
}

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

int main() {
	int s;
	double w, h;
	char t;

	while (cin >> s) {
		cin >> t >> w >> t >> h;

		if (w / (h * h) >= 25) cout << s << endl;
	}
	return 0;
}

C++: #include<iostream>
using namespace std;
int main(){
	char c;
	int num;
	double weight,height;
	int bmi;
	while(cin>>num>>c>>weight>>c>>height){
		bmi=weight/(height*height);
		if(bmi>=25)cout<<num<<endl;	
	}
}

C++: #include <stdio.h>
int main(void)
{
	int num;
	double h,w;

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