#include <iostream>
#include <cmath>
using namespace std;
int main(void){
#define MAX 250
    int s; //学籍番号
    double w, h; //体重、身長

    while(scanf("%d, %lf, %lf", &s, &w, &h) != EOF){
        //int count = 0; //測定した人数
        /*for(int i = 0; i < 50; i++){
            scanf("%d, %lf, %lf", &s[i], &w[i], &h[i]);
            count++;
        }*/

    double bmi; //BMI
    bmi = w / pow(h, 2);
    if(bmi >= 25)
        cout << s << endl;
    }
}
