#include <iostream>
using namespace std;
int main() {
int height, weight;
cin >> height >> weight;
// Tính chỉ số BMI
double BMI = (double)weight / (height * height);
// So sánh BMI để đưa ra kết quả
if (BMI < 0.00185) {
cout << "Thieu can" << endl;
} else if (BMI >= 0.00185 && BMI < 0.0025) {
cout << "Trung binh" << endl;
} else if (BMI >= 0.0025 && BMI < 0.003) {
cout << "Thua can" << endl;
} else {
cout << "Beo phi" << endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAgICBpbnQgaGVpZ2h0LCB3ZWlnaHQ7CiAgICBjaW4gPj4gaGVpZ2h0ID4+IHdlaWdodDsgCgogICAgLy8gVMOtbmggY2jhu4kgc+G7kSBCTUkKICAgIGRvdWJsZSBCTUkgPSAoZG91YmxlKXdlaWdodCAvIChoZWlnaHQgKiBoZWlnaHQpOwoKICAgIC8vIFNvIHPDoW5oIEJNSSDEkeG7gyDEkcawYSByYSBr4bq/dCBxdeG6owogICAgaWYgKEJNSSA8IDAuMDAxODUpIHsKICAgICAgICBjb3V0IDw8ICJUaGlldSBjYW4iIDw8IGVuZGw7CiAgICB9IGVsc2UgaWYgKEJNSSA+PSAwLjAwMTg1ICYmIEJNSSA8IDAuMDAyNSkgewogICAgICAgIGNvdXQgPDwgIlRydW5nIGJpbmgiIDw8IGVuZGw7CiAgICB9IGVsc2UgaWYgKEJNSSA+PSAwLjAwMjUgJiYgQk1JIDwgMC4wMDMpIHsKICAgICAgICBjb3V0IDw8ICJUaHVhIGNhbiIgPDwgZW5kbDsKICAgIH0gZWxzZSB7CiAgICAgICAgY291dCA8PCAiQmVvIHBoaSIgPDwgZW5kbDsKICAgIH0KCiAgICByZXR1cm4gMDsKfQo=