#include<iostream>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<vector>
#include<string>
#include<sstream>
#include<cmath>
#include<numeric>
#include<map>
#include<stack>
#include<queue>
using namespace std;
int main(void) {
  int s; double w, h;
  while( scanf("%d,%lf,%lf", &s, &w, &h) != EOF ){
    if( w / (h*h) >= 25 ) cout << s << endl;
  }

  return 0;
}






// EOF