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

int main()  {

    double w, h;
    int id;
    while(scanf("%d,%lf,%lf", &id, &w, &h) != EOF) {
        if (w/(h*h) >= 25) printf("%d\n", id);
    }
    return 0;
}

