height = float(input())
weight = float(input())
bmi = round(weight / (height ** 2), 1)
print(bmi)
if bmi < 18.5:
    print("Underweight")
elif bmi <= 24.9:
    print("Normal")
elif bmi <= 29.9:
    print("Overweight")
else:
    print("Obese")

height = float(input())
weight = float(input())
bmi = round(weight / (height ** 2), 1)
print(bmi)
if bmi < 18.5:
    print("Underweight")
elif bmi <= 24.9:
    print("Normal")
elif bmi <= 29.9:
    print("Overweight")
else:
    print("Obese")
