#include<iostream>
#include<string.h>
#include<vector>
#include<list>
#include<stdio.h>
#include<math.h>
#include<iomanip>
#define range(i,a,b) for(int i = (a); i < (b); i++)
#define rep(i,b) range(i,0,b)
#define debug(x) cout << "debug " << x << endl;
using namespace std;

int main(){
    string s;
    while(cin >> s){
        int num = stoi(s.substr(0, s.find(',')));
        double m = stof(s.substr(s.find(',')+1, s.rfind(',')-1-s.find(',')));
        double h = stof(s.substr(s.rfind(',')+1, s.size()+1-s.rfind(',')));
        double BMI = m / (h * h);
        if(BMI >= 25){
            cout << num << endl;
        }
    }
}