#include<bits/stdc++.h>
using namespace std;
int main()
{
int m;
cin>>m;
if(m>=86){
cout<<"VERY GOOD"<<endl;
}else if(m>=60){
cout<<"GOOD"<<endl;
}else{
cout<<"BAD"<<endl;
}
return 0;
}
/**************************************************************
Problem: 1035
User: czr
Language: C
Result: Compile Error
****************************************************************/