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(){int x,sum=0;double a,b;while(scanf("%d,%lf,%lf",&x,&a,&b)!=EOF){double y=a/b;y/=b;if(y>=25)printf("%d\n",x);}return 0;}

C++: #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <map>
#include <set>
#include <stdio.h>
#include <sstream>
#include <stdlib.h>
using namespace std;
 
#define rep(i,n) for(int i=0; i<n; i++)
#define FOR(i,s,n) for(int i=s; i<n; i++)
#define ALL(x) x.begin(), x.end()
#define pb push_back
#define foreach(it,con) for(auto it=con.begin();it!=con.end();it++)
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef vector<int> vi;

struct Person{
	Person(int _id,int _m,int _h):h(_h),m(_m),id(_id){
	}
	int id;
	float m;
	float h;
	float bmi(){
		return m/(h*h);
	}
};

int main(){
	int id;
	float m,h;
	while(scanf("%d,%f,%f",&id,&m,&h)+1){
		Person p(id,m,h);
		if(p.bmi()>=25.0){
			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) {
			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<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 <cstdio>
#include <iostream>
using namespace std;

void solve(int id, double w, double h){
    double bmi = w / (h*h);
    if(bmi >= 25.0){
        cout << id << endl;
    }
}

int main(){
    string s;
    while(cin >> s){
        int id;
        double w, h;
        sscanf(s.c_str(), "%d,%lf,%lf", &id, &w, &h);
        solve(id, w, h);
    }
    return 0;
}

C++: //============================================================================
// Name        : aoj0075.cpp
// Author      : afterCmidday
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>
using namespace std;

int main() {
	double num, wei, hei;
	while(cin >> num){
		cin.get();
		cin >> wei;
		cin.get();
		cin >> hei;
		if(wei / (hei * hei) >= 25.0){
			cout << num << endl;
		}
	}
	return 0;
}

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

int main(){

  double x,y;
  int n;

  while(scanf("%d,%lf,%lf",&n,&x,&y) != EOF){

    if(x/(y*y) >= 25) cout << n << endl;

  }

}

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++: #include<stdio.h>
#include<iostream>
using namespace std;

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

}

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

int main() {
    int no;
    double w, h;
    char c;
    while (cin >> no >> c >> w >> c >> h) {
        if (25.0 * h * h - w <= 1e-9) {
            cout << no << endl;
        }
    }
    return 0;
}

C++: #include <bits/stdc++.h>
#define rep(i,j,k) for(int i=(int)j;i<(int)k;i++)
#define itrep(i,x) for(auto i=(x).begin(); i!=(x).end();i++)
#define Sort(x) sort((x).begin(),(x).end())
#define all(x) (x).begin(),(x).end()
#define fi first
#define se second
#define vi vector<int>
#define INF (int)1e9
#define INFL 1e18
#define MOD 1000000007
#define pb push_back
#define MP make_pair
#define PI 3.1415926535
typedef long long int ll;
typedef std::pair<int,int> P;
int D=1;
int dx[4]={0,1,0,-1},dy[4]={1,0,-1,0};

using namespace std;

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

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(1){
		scanf("%d,%lf,%lf",&dt.number,&dt.weight,&dt.tall);
		if(dt.number)break;
		if(dt.weight/pow(dt.tall,2)>=25)cout<<dt.number<<endl;
	}
	return 0;
}

C++: #include<stdio.h>
int main(void)
{
	int ban;
	double tai,shin,bmi;
	while(scanf("%d,%lf,%lf",&ban,&tai,&shin)!=EOF){
		bmi=tai/(shin*shin);
		if(bmi>=25){
			printf("%d\n",ban);
		}
	}
	return 0;
}

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

using namespace std;

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

    return 0;
}

C++: #include<iostream>
using namespace std;
int main(){
  int np;
  double w,h;
  char c[2];
  while(cin>>np>>c[0]>>w>>c[1]>>h) if(w/(h*h)>=25) cout << np << endl;
  return 0;
}

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

int main(){
	int s[50] = {};
	double w[50] = {};
	double h[50] = {};
	int sb[50] = {};
	int i = 0;
	int j = 0;
	while (scanf("%d,%f,%f", s[i], w[i], h[i])) {
		if (w[i] / (h[i] * h[i])) {
			sb[j] = s[i];
			j++;
		}
		i++;
	}
	for (int k = 0; k < j; k++) {
		printf("%d", sb[k]);
	}
	
	
    return 0;
}

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

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

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

C++: #include <stdio.h>

int main() {
    bool some = false;
    int x;
    double w, h;
    while (scanf("%d,%lf,%lf", &x, &w, &h) != EOF) {
        if (w >= 25*h*h) {
            printf("%d\n", x);
            some = true;
        }
    }
    if (!some) puts("ツ該ツ督鳴づ按つオ");
    return 0;
}