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

int main() {
  int number;
  double kg, m;
  while(scanf("%d%*c%lf%*c%lf",&number,&kg,&m)==3) {
    if(kg/(m*m)>=25) cout << number << endl;
  }
  return 0;
}

C++: #include <stdio.h>

int main(void)
{
	int num;
	double weight;
	double height;
	double bmi;
	
	while (scanf("%d,%lf,%lf", &num, &weight, &height) != EOF){
		bmi = weight / (height * height);
		if (bmi >= 25.000000){
			printf("%d\n", num);
		}
	}
	
	return (0);
}

C++: #include <iostream>

using namespace std;

int main(void) {
	
	while(1) {
		int num;
		cin >> num;
		if(cin.eof())	{ break; }
		
		double w, h;
		cin >> w >> h;
		
		if(w / (h * h) >= 25.0) {
			cout << num;
		}
		cout << endl;
	}
	return 0;
}

C++: #ifndef _GLIBCXX_NO_ASSERT
#include <cassert>
#endif
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>

#ifdef __GXX_EXPERIMENTAL_CXX0X__
#include <ccomplex>
#include <cfenv>
#include <cinttypes>
#include <cstdbool>
#include <cstdint>
#include <ctgmath>
#include <cwchar>
#include <cwctype>
#endif

#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>

#ifdef __GXX_EXPERIMENTAL_CXX0X__
#include <array>
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <forward_list>
#include <future>
#include <initializer_list>
#include <mutex>
#include <random>
#include <ratio>
#include <regex>
#include <system_error>
#include <thread>
#include <tuple>
#include <typeindex>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#endif

using namespace std;


int main ()
{
	double a , b , c ;
	char x;
	while( cin >> a >> x >> b >> x >> c )
	{
		if( b*1. / c / c > 25 )cout << a << endl;
	}
	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>
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()
{
    int id;
    double w;
    double h;
    while(cin>>id){
        scanf("%f",&w);
        scanf("%f",&h);
        double bmi = w/(h*h);
        if(bmi >= 25.0){
            cout<<id<<endl;
        }
    }
    return 0;
}

C++: #include<iostream>
#include<stdio.h>
using namespace std;
int main(){
  int num;
  double tai,sint;
  char d;
  while(scanf("%d,%lf,%lf",&num,&tai,&sint)!=EOF){
  //cout<<tai/sint*sint<<endl;
    if(tai/(sint*sint)>=25)cout<<num<<endl;
  }
}

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

using namespace std;
int num,i=0;
double m,kg;
int main(void){
	while(~scanf("%d,%lf,%lf",&num,&kg,&m)){
		if(kg/(pow(m,2))>=25)printf("%d\n",num);
	}
	return 0;
}

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

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

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

int main() {
    vector<int> num;
	int n;
	double w,h;
	while(scanf("%d,%lf,%lf",&n,&w,&h)!=EOF) if (w/(h*h)>=25) num.push_back(n);
	if (num.size()>0) for (n=0;n<num.size();n++) cout << num[n] << endl;
	else cout << "該当なし" << endl;
	return 0;
}

C++: #include<iostream>
#include<cstdio>
using namespace std;
int main(){
	int a=0;
	double b,c;
	while(scanf("%d,%lf,%lf",&a,&b,&c)){
		if(b/(c*c) >= 25)
			cout << a << endl;
	}
}

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

int main()
{	
	string s;

	while (cin >> s) {
		int nb, p, q;
		double w, h;

		p = s.find(",");
		q = s.find(",", p + 1);

		nb = stoi(s.substr(0, p));
		w = stod(s.substr(p + 1, q - p));
		h = stod(s.substr(q + 1, s.size() - q));

		if (w / (h * h) >= 25)
			cout << nb << endl;
	}

	return 0;
}

C++: #define scanf_s scanf
//#define gets_s gets
#include <stdio.h>
#include <string>
#include <iostream>
#include <math.h>
using namespace std;
#define MAX 1000//0
#define _MAX 81
int main(void)
{
	int s;
	double w, h;
	while (scanf_s("%d,%lf,%lf", &s, &w, &h) != EOF) {
		if (w / (h * h) >= 25) printf("%d\n", s);
	}
}

C++: #include <iostream>
#include <sstream>
#include <string>
#include <algorithm>
using namespace std;
int main( void )
{
	string line;
	while ( cin >> line )
	{
		replace( line.begin(), line.end(), ',', ' ' );
		istringstream is( line );
		int no;
		double w, h;
		is >> no >> w >> h;

		if ( ( w / ( h*h ) ) >= 25.0 )
			cout << no << 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(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>
#include <cstdio>
#include <vector>
#include <list>
#include <algorithm>
#include <cmath>
#include <stack>
#include <map>
#include <numeric>
#include <sstream>
#include <queue>
#include <iomanip>
using namespace std;

#define REP(i,n) for(int (i)=0; (i)<(n); (i)++)
#define FOR(i,a,b) for(int (i)=(a); (i)<(b); (i)++)
#define PUSH(n,v) for(int i=0; i<(n); i++) {int j; cin >> j; v.push_back(j);}
#define ALL(v) v.begin(), v.end()
#define print(s) cout << (s) << endl

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

C++: #include<iostream>
#include<cstdio>
using namespace std;
int main(){
    int gaku;
    double w,h;
	while(scanf("%d,%lf,%lf",&gaku,&w,&h) != EOF){
	    int bmi = w / (h * h);
        bmi >= 25 ? cout << gaku << endl:cout << "";
	}
	return 0;
}