#include<bits/stdc++.h>
using namespace std;
int main()
{
int c;
cin>>c;
if(c>=86){
	cout<<"VERY GOOD";
}
else if(c>=60&&c<=85){
	cout<<"GOOD";
}
else{
	cout<<"BAD";
}
	return 0;
}

/**************************************************************
	Problem: 1035
	User: hbq
	Language: C++
	Result: Accepted
	Time:19 ms
	Memory:2072 kb
****************************************************************/