#include<stdio.h>
#include<iostream>
using namespace std;

int main(){
  double w,h,b;
  int n;
  
  while((scanf("%d,%lf,%lf",&n,&w,&h))!=EOF){
    b = w/(h*h);
    if(b>=25)
      printf("\n%d",n);
  }
  printf("\n");
  
  return 0;

}