#include<iostream>
#include<cstdio>
using namespace std;

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