#include <cstdio>
using namespace std;

int main()
{
    int n;
    double w, h;
    while(scanf("%d,%lf,%lf", &n, &w, &h) != EOF){
        if(25 * h * h <= w) {
            printf("%d\n", n);
        }
    }
}