n=int(input()) if n<=59:print('Bad\n') elif 60<=n<=89:print('Good\n') elif 90<=n<=99:print('Great\n') else:print('Perfect\n')
我语言选的对的