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