#define scanf_s scanf
//#define gets_s gets
#include <stdio.h>
#include <string>
#include <iostream>
#include <math.h>
using namespace std;
#define MAX 1000//0
#define _MAX 81
int main(void)
{
	int s;
	double w, h;
	while (scanf_s("%d,%lf,%lf", &s, &w, &h) != EOF) {
		if (w / (h * h) >= 25) printf("%d\n", s);
	}
}