#include <iostream>
#include <utility>
#include <algorithm>
#include <string>
#include <vector>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <cstdlib>

typedef long long int ll;


using namespace std;

double weight,tall;


int main(){
	int n;
	while(scanf("%d,%lf,%lf",&n,&weight,&tall)!=EOF){
		if(weight>=25.0*tall*tall)cout<<n<<endl;
	}
}