#include <cstdio>
int main(){
int step,mod;
int m[100001];
while(~scanf("%d%d",&step,&mod)){
m[0]=0;
int i;
for(i=0;i<mod;i++){
m[i+1]=(m[i]+step)%mod;
if(m[i+1]==0)break;
}
printf("%10d%10d ",step,mod);
if(i==mod-1)printf("Good Choice\n\n");
else printf("Bad Choice\n\n");
}
}