#include<iostream>
#include<cstdio>
#include<math.h>
using namespace std;

int main(){
	float weight, height;
	int id;
	bool hoge = false;
	while(scanf("%d,%f,%f", &id, &weight, &height) != EOF){
		if(25 <= weight / pow(height, 2)){
			hoge = true;
			cout << id << endl;
		}
	}
	if(!hoge) cout << "該当なし" << endl;
}