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 id;
     double h, w;
     while (scanf("%d,%lf,%lf", &id, &w, &h) != EOF) {
          double b = (double)w / (h * h);
          if (b >= 25.0) cout << id <<endl;
     }

     return 0;
}

C++: #include <iostream>

using namespace std;

void solve()
{
	int Num = 0;
	double mass = 0;
	double height = 0;
	while(~scanf("%d,%lf,%lf/n", &Num, &mass, &height))
	{
		if(mass / (height * height) >= 25.0)
		{
			cout << Num << endl;
		}
	}
}

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

C++: #include <cstdio>
#include <cmath>
#include <vector>
using namespace std;
int main() {
	vector<int> over;
	int num;
	double w, h;
	while (scanf("%d,%f,%f",&num,&w,&h)!=EOF) {
		double bmi = w/pow(h,2);
		if (bmi>=25) over.push_back(num);
	}
	if (over.empty()) {
		printf("ツ該ツ督鳴づ按つオ\n");
	} else {
		for (int i=0; i<over.size(); i++) printf("%d\n",over[i]);
	}
}

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;
}