#include <iostream>
#include <algorithm>
#include <string>
#include <sstream>
using namespace std;


int main() {
  string str;
  while(getline(cin,str)) {
    replace(str.begin(), str.end(), ',', ' ');
    stringstream ss;
    ss << str;
    int num;
    double w, h;
    ss >> num >> w >> h;
    if(w/(h*h) >= 25.0) cout << num << endl;
  }
  return 0;
}