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

     return 0;
}

C++: #include <iostream>

using namespace std;

int main(void){
  bool exist = false;

  int num;
  double w, h;

  while(cin >> num){
	cin.ignore();
	cin >> w;
	cin.ignore();
	cin >> h;
	if(w / (h*h) >= 25){
	  exist = true;
	  cout << num << endl;
	}
  }
  if(!exist){
	cout << "ツ該ツ督鳴づ按つオ" << endl;
  }
}

C++: #include <iostream>
#include <algorithm>
using namespace std;
int main(){
    int s;
    char a;
    double w,h;
    while(cin>>s>>a>>w>>a>>h){
        if(w/h/h>=25)
            cout<<s<<endl;
        }
   
    }

C++: #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <map>
#include <set>
#include <sstream>
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(){
	stringstream str;
	while(cin>>str){
		int id;
		char split;
		float m,h;
		str >>id >> split >> m >> split >> h;
		Person p(id,m,h);
		if(p.bmi()>=25.0){
			cout << id << endl;
		}
	}
	return 0;	
}

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

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

C++: #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <map>
#include <set>
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 n;
	while(cin>>n){
		rep(i,n){
			int id;
			char split;
			float m,h;
			cin>>id >> split >> m >> split >> h;
			Person p(id,m,h);
			if(p.bmi()>=25.0){
				cout << id << endl;
			}
		}
	}
	return 0;	
}

C++: #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <map>
#include <set>
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 mass/h*h;
	}
};

int main(){
	int n;
	while(cin>>n,n){
		rep(i,n){
			int id; float m,h;
			cin>>id,m,h;
			Person p(id,m,h);
			if(p.bmi()>=25.0){
				cout << id << endl;
			}
		}
	}
	return 0;	
}

C++: #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <map>
#include <set>
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 n;
	while(cin>>n,n){
		rep(i,n){
			int id;
			float m,h;
			cin>>id >> m >> h;
			Person p(id,m,h);
			if(p.bmi()>=25.0){
				cout << id << endl;
			}
		}
	}
	return 0;	
}

C++: #include <stdio.h>
#include <algorithm>
#include <math.h>

using namespace std;


int main(){

	int id;
	double weight,height;

	while(scanf("%d,%lf,%lf",&id,&weight,&height)!=EOF){
		if((weight/(height*height)) >= 25.0){
			printf("%d\n",id);
		}
	}
	return 0;
}

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

int main(){
	int count = 0;
	int id;
	char c;
	double weight, tall;
	while(cin >> id >> c >> weight >> c >> tall){
		if(weight >= 25 * tall * tall){
			count++;
			cout << id << endl;
		}
	}
	if(count == 0) cout << "ツ該ツ督鳴づ按つオ" << endl;
	return 0;
}

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

using namespace std;
int num[5000],i=0;
double m[5000],kg[5000];
int main(void){
	while(~scanf("%d,%f,%f",num[i],kg[i],m[i])){
		i++;
	}
	for(int a=0;a<i;a++){
		if(kg[i]/pow(m[i],2)>=25)printf("%d\n",num[i]);
	}
	return 0;
}

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

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

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

int main()
{
 int x;
 double a,b,bmi;
char q,r;
 while(cin>>x>>q>>a>>r>>b)
{
bmi=a/(b*b);
if(bmi>=25)
{
 cout<<x<<endl;
}
}
return 0;
}

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

using namespace std;

int main() {

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

	while(cin >> num >> w >> h)  {
		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;

}