#include <iostream>
#include <string>
using namespace std;

int main() {
    double height_cm, weight;

    cout << "Enter your height (cm): ";
    cin >> height_cm;
    cout << "Enter your weight (kg): ";
    cin >> weight;

    // Convert height from cm to meters
    double height_m = height_cm / 100.0;
    double bmi = weight / (height_m * height_m);

    string category;

    if (bmi < 18.5) {
        category = "Underweight";
    } else if (bmi < 24) {
        category = "Normal Weight";
    } else if (bmi < 27) {
        category = "Overweight";
    } else if (bmi < 30) {
        category = "Mildly Obese";
    } else if (bmi < 35) {
        category = "Moderately Obese";
    } else {
        category = "Severely Obese";
    }

    cout << "Your BMI is " << bmi << " (" << category << ")" << endl;

    return 0;
}