/*
#include <stdio.h>
int main()
{
int a;
scanf("%d",&a);
if(a%10 == 1&&a != 11)
{
printf("%dst",a);
}
else if(a%10 == 2 && a != 12)
{
printf("%dnd",a);
}
else if(a%10 == 3&& a != 13)
{
printf("%drd",a);
}
else
{
printf("%dth",a);
}
return 0;
}
*/
/*
#include<stdio.h>
int main() {
int n;
scanf("%d", &n);
switch(n){
case 1:
printf("11111");
break;
case 2:
printf("22222");
break;
case 3:
printf("33333");
case 4:
printf("44444");
break;
case 5:
case 6:
case 7:
printf("77777");
break;
default:
printf("00000");
}
}
*/
/*
#include<stdio.h>
int main()
{
int y;
scanf("%d",&y);
switch(y / 10)
{
case 10:
case 9:
printf("A");
break;
case 8:
printf("B");
break;
case 7:
printf("C");
break;
case 6:
printf("D");
break;
default:
printf("F");
break;
}
}
*/
/*
#include<stdio.h>
int main()
{
int n,m,k,l;
scanf("%d %d %d %d",&n,&m,&k,&l);
switch(n + m + k + l)
{
case 0:
printf("모");
break;
case 1:
printf("도");
break;
case 2:
printf("개");
break;
break;
case 3:
printf("걸");
break;
default:
printf("윷");
}
}
*/
/*
#include<stdio.h>
int main()
{
double a,h;
double i;
double n;
scanf("%lf %lf",&a,&h);
i = (a-100)*0.9;
//n = (h - i) * 100 / i;
if(n = (h - i) * 100 / i <= 10)
{
printf("정상");
}
else if((h - i) * 100 / i > 10&&(h - i) * 100 / i <= 20)
{
printf("과체중");
}
else if((h - i) * 100 / i > 20)
{
printf("비만");
}
return 0;
}
*/
#include<stdio.h>
int main()
{
double q,d;
double f,g;
scanf("%lf %lf",&q,&d);
if(q <= 150)
{
f = q - 100;
}
else if(q > 150&&q < 160)
{
f = (q - 150)/2 + 50;
}
else if(q >= 160)
{
f = (q - 100) * 0.9;
}
g = (d - f)* 100 / f;
if(g <= 10)
{
printf("정상");
}
else if(g > 10&& g <= 20)
{
printf("과체중");
}
else if(g > 20)
{
printf("비만");
}
return 0;
}