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>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <deque>
#include <set>
#include <map>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <complex>
using namespace std;

typedef long long ll;
typedef pair<int,int> P;

#define all(c) (c).begin(),(c).end()
#define pb push_back
#define mp make_pair
#define ERASE(v,i) (v).erase(remove(all(v),i),(v).end())
#define rep(i,n) for(int i=0;i<(int)n;++i)
#define each(it,c) for(typeof((c).begin()) it=(c).begin();it!=(c).end();++it)
#define debug(x) cerr<<#x<<" = "<<(x)<<endl;
#define LINE cerr<<"LINE: "<<__LINE__<<endl;

inline int toInt(string s){int v;istringstream sin(s);sin>>v;return v;}
template<class T> inline string toString(T x){ostringstream sout;sout<<x;return sout.str();}
template<class T> void preview(T a,T b){for(T it=a;it!=b;++it)cerr<<*it<<" ";cerr<<endl;}

const int INF = 100000000;
const double PI = acos(-1.0), EPS = 1e-10;

int main() {
	for(string line; getline(cin, line);) {
		rep(i,line.length()) if(line[i] == ',') line[i] = ' ';
		istringstream is(line);
		int num;
		double height, weight;
		is >> num >> weight >> height;
#if 0
		debug(num)
		debug(height)
		debug(weight)
		cerr << weight / (height * height) << endl;
#endif
		if(weight / (height * height) >= 25) cout << num << endl;
	}
	return 0;
}

C++: #include <iostream>

using namespace std;

void solve()
{
	int Digit;
	double weight, height;
	while(~scanf("%d,%lf,%lf", &Digit, &weight, &height))
	{
		if(weight / height / height > 25)
		{
			cout << Digit << endl;
		}
	}
}

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

C++: #include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <string.h>
#include <algorithm>
#include <cmath>
#include <limits>
#include <sstream>

using namespace std;

int main (void)
{
	for (int j = 0; j < 50; j++)
	{
		int n = 0;
		float a = 0,b = 0;
		char v,vv;

		cin >> n >> v >> a >> vv >> b;
		

		if (a / (b * b) >= 25)
		{
			cout << n << endl;
		}
	}

}

C++: #include<bits/stdc++.h>
using namespace std;
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 <string>
#include <vector>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <functional>
#include <map>
#include <numeric>
using namespace std;

#define FOR(i,a,b) for(long long int i=(a);i<(b);i++)
#define REP(i,n) for(long long int i=0;i<(n);i++)
#define ALL(s) (s).begin(),(s).end()

#define PI 3.14159265358479

typedef long long ll;
typedef vector<long long int> vi;
typedef vector<long long int>::iterator vit;

int main(){
	int n;
	double l, m;
	while (scanf("%d,%lf,%lf", &n, &l, &m)){
		if (l / powl(m, 2) >= 25){
			cout << n << "\n";
		}
	}
	return 0;
}

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

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

C++: #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <map>
#include <set>
#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(){

	return 0;	
}

C++: #include <stdio.h>

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

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

using namespace std;

int main() {

	int num, c=0;
	double w, h;
	deque<int> x;

	while(scanf("%d, %lf, %lf", &num, &w, &h)!=EOF)  {
		if(w/(h*h)>=25) {
			x.push_back(num);
			c++;
		}
	}

	if(c) {
		while(c!=0) {
			cout << x[x.size()-c] << endl;
			c--;
		}
	}
	else
		cout << "ツ該ツ督鳴づ按つオ" << endl;

	return 0;

}

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

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

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

int num;
double w, h, BMI;
char cnm;

double BMIk(double w, double h){
	double ans = w / pow(h, 2);
	return ans;
}

int main(){
	while(cin >> num >> cnm >> w >> cnm >> h){
		BMI = BMIk(w, h);
		if(BMI >= 25){
			cout << num < endl;
		}
	}
	return 0;
}

C++: #include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <set>
#include <map>
using namespace std;

#define rep(i,n) for(int i=0; i<n; i++)
typedef long long ll;
typedef pair<int,int> pii;

int main() {
	int n;
	double w,m;
	char c;
	while(cin >> n >> c >> w >> c >> m) {
		if(w/m/m >= 25.0) {
			cout << n << 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) != EOF){
    if(BMI(Kg,m) >= 25){
      cout << student << endl;
    }
  }
}

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

using namespace std;

#define int long long
#define all(v) (v).begin(), (v).end()
#define reps(i, m, n) for(int i = (int)(m); i < (int)(n); i++)
#define rep(i, n) reps(i, 0, n)

template<class T1, class T2> void chmin(T1 &a, T2 b){if(a>b)a=b;}
template<class T1, class T2> void chmax(T1 &a, T2 b){if(a<b)a=b;}

typedef pair<int, int> Pi;
typedef tuple<int, int, int> Ti;
typedef vector<int> vint;

const int inf = 1LL << 55;
const int mod = 1e9 + 7;

signed main()
{
  cin.tie(0);
  ios_base::sync_with_stdio(0);
  cout << fixed << setprecision(12);

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

  return 0;
}

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

using namespace std;

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

C++: #include <stdio.h>
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);
    }
    
}

C++: #include<iostream>
using namespace std;
int main(){
	int cnt=0;
	double a,b,c;
	char s,t;
	while(cin>>a>>s>>b>>t>>c){
		if(b/(c*c)>=25){
			cout<<a<<endl;
			cnt++;
		}
	}
	if(cnt==0){
		cout<<"該当なし"<<endl;
	}
	return 0;
}