#include <iostream>
using namespace std;

int main() {

  int n;
  double w,h;
  char c;

  while( cin >> n >> c >> w >> c >> h ) {

    if ( w / ( h*h ) >= 25.00 ) cout << n << endl;

  }

  return 0;

}