#include<bits/stdc++.h>
using namespace std;
int x;
int main(){
	cin>>x;
		if(x>85)  cout<<"VERY GOOD";
		if(x<86&&x>=60)  cout<<"GOOD";
		if(x<60)  cout<<"BAD";
	return 0;
}
/**************************************************************
	Problem: 1035
	User: zhangziang
	Language: C++
	Result: Accepted
	Time:28 ms
	Memory:2072 kb
****************************************************************/