#include<iostream>
#include<stdio.h>

int main()
{
	int n;
	double w, t;
	while( scanf( "%d,%lf,%lf", &n, &w, &t ) != EOF ){
		if( w / ( t * t ) >= 25.0 ){
			std::cout << n << std::endl;
		}
	}

 	return 0;
}