#include<stdio.h>
int gcd(int a,int b)
{
if(!b) return a;
else return gcd(b,a%b);
}
int main()
{
int s,m;
while(scanf("%d%d",&s,&m)!=EOF)
{
printf("%10d%10d ",s,m);
if(gcd(s,m)==1) puts("Good Choice");
else puts("Bad Choice");
printf("\n");
}
return 0;
}