#include <bits/stdc++.h>
using namespace std;
int main()
{
double h, w, b;
cin >> h >> w;
h /= 100;
b = w / (h * h);
if (b > 24)
{
cout << "Too fat!" << endl;
double w24 = 24 * (h * h);
cout << ceil(w - w24);
}
else if (b < 18)
{
cout << "Too thin!" << endl;
double w18 = 18 * (h * h);
cout << ceil(w18 - w);
}
else
{
cout << "Good!";
}
return 0;
}
2024-10-19 17:50