#include <iostream>
using namespace std;

int main() {
	int waga,wzrost,BMI;
	cin>>waga>>wzrost;
	BMI=(waga*10000)/(wzrost*wzrost);
	if(BMI<21)cout<<"niedowaga"<<endl;
	else
	if(BMI>25)cout<<"nadwaga"<<endl;
	else 
	cout<<"norma"<<endl;
	return 0;
}