#include <iostream>
using namespace std;
int main () {
double m, h, bmi;
cin >> m >> h;
bmi = m / (h * h);
if (bmi < 18.5)
cout << "underweight" << endl;
else if (bmi >= 18.5 && bmi < 24)
cout << "normal" << endl;
else
cout << bmi << endl << "overweight" << endl;
return 0;
}