#include<stdio.h>
#include<conio.h>
int main()
{
int w;
printf("\nEnter the weight: ");
scanf("%d", &w);
printf("\nBoxer's class is : ")
if(w < 115)
printf("\nFlyweight.");
else if(w >= 115 && w <= 121)
printf("\nBantamweight.");
else if(w >= 122 && w <= 153)
printf("\nFeatherweight.");
else if(w >= 154 && w <= 189)
printf("\nMiddleweight.");
else
printf("\nHeavyweight.");
getch();
return 0;
}