#include using namespace std; int main () { int a; cin >> a; if (a >= 0 && a <= 9) cout << "GOOD" << endl; else cout << "bad" << endl; return 0; }