The body mass index (BMI) or Quetelet index is a measure for human body shape based on an individual's weight and height. It was devised between 1830 and 1850 by the Belgian polymath Adolphe Quetelet (1796-1874) during the course of developing "social physics". The body mass index is defined as an individual's body mass (in kilogram) divided by the square of their height (in meter). \[ \text{BMI} = \frac{\text{mass}}{\text{height}^2} \] As such, the BMI of an individual weighing 90 kilograms and measuring 173 centimetres is equal to 30.07. The BMI can also be determined using a BMI chart, which displays BMI as a function of weight (horizontal axis) and height (vertical axis) using contour lines for different values of BMI or colors for different BMI categories.
A frequent use of the BMI is to assess how much an individual's body weight departs from what is normal or desirable for a person of his or her height. The weight excess or deficiency may, in part, be accounted for by body fat (adipose tissue) although other factors such as muscularity also affect BMI significantly. The WHO regards a BMI of less than 18.5 as underweight and may indicate malnutrition, an eating disorder, or other health problems, while a BMI greater than 25 is considered overweight and above 30 is considered obese. These ranges of BMI values are valid only as statistical categories. The table below indicates a possible interpretation of the BMI scale.
BMI (kg/m$$^2$$) | interpretation |
---|---|
<18 | underweight |
[18,25[ | normal weight |
[25,27[ | overweight |
[27,30[ | moderate overweight |
[30,40[ | severe overweight |
≥40 | very severe overweight |
The weight (kg) and length (cm) of a test person, given in that order and on two separate lines. Both values are given as integers.
An interpretation of the BMI of the test person, formatted using the following template: "A person weighing 90 kg and measuring 173 cm has severe overweight." The fragments shown in italic should be filled up based on the information given in the input.
Input:
90
173
Output:
A person weighing 90 kg and measuring 173 cm has severe overweight.