#include<bits/stdc++.h>
using namespace std;
int main(){
  int num;
  double w,h;
  
  while(scanf("%d",&num) != EOF){
    scanf(",%lf,%lf",&w,&h);
    if( w/(h*h) >= 25.0 ) cout << num << endl;
  }

  return 0;
}