#include <iostream>
#include <string>
#include <vector>
using namespace std;

int main() {
    int no;
    double w, h;
    char c;
    while (cin >> no >> c >> w >> c >> h) {
        if (25.0 * h * h - w <= 1e-9) {
            cout << no << endl;
        }
    }
    return 0;
}