#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <sstream>
#include <bitset>
 
#define INPUT_FROM_FILE (0) 
#if INPUT_FROM_FILE
#include <fstream>
#endif


int main(int argc, char **argv){
	int s;
	double w, h;

#if INPUT_FROM_FILE
	//std::ifstream ifs("test.txt");
	FILE *fp = fopen("test.txt", "r");
#endif

#if INPUT_FROM_FILE
	while(fscanf(fp, "%d,%lf,%lf", &s, &w, &h) != EOF){
#else
	while(scanf("%d,%lf,%lf", &s, &w, &h) != EOF){
#endif
		if(w / (h * h) >= 25){
			std::cout << s << std::endl;
		}
	}


 
#if INPUT_FROM_FILE
	fclose(fp);
#endif
    return 0;
}
