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

inline double bmi(double w, double h) {
  return w / (h*h);
}

int main() {
  string s;
  while(cin >> s) {
    replace(s.begin(), s.end(), ',', ' ');
    stringstream ss(s);
    int id;
    double w, h;
    ss >> id >> w >> h;
    if(bmi(w,h) >= 25) cout << id << endl;
  }
  return 0;
}