#include <stdio.h>
int gcd(int a, int b) { int t; while(t=a%b) { a=b; b=t; } return b; }
int main(void) { int s,m,i; while(scanf("%d %d", &s, &m)!=EOF) { printf("dd",s,m); if(gcd(s,m)==1) { printf(" Good Choicenn"); } else { printf(" Bad Choicenn"); } } return 0; }