Under construction

Still being built. Things may change

Ims's MapleCup

Time limit0.1sMemory limit1024 MB

Summary
Given a solved-problem count, Union level, and highest character level, print Very Good, Good, or Bad based on two threshold checks.
Level

Easy1 of 10

Topics
Implementation
Solved
No attempts yet

Problem

Ims has written and reviewed problems for several contests. Ims has played MapleStory for 20 years and is preparing an unofficial MapleCup on that theme.

Ims set two conditions for becoming a member of the problem-setting team for this contest.

  • Has the applicant solved at least 1 0001\,000 problems, the threshold for setting problems in contests?
  • Is the applicant's MapleStory Union level at least 8 0008\,000, or is the highest character level at least 260260?

Ims will happily invite every applicant who meets both conditions.

Given the number of problems solved NN, the Union level UU, and the highest level LL of an applicant, print whether Ims would like the applicant. Print Very Good if both conditions are met, Good if only the contest-setting condition is met, and Bad otherwise.

Input

The first line contains the number of problems solved NN, the Union level UU, and the highest level LL of the applicant, separated by spaces. (1≤N≤130 000;(1 \le N \le 130\,000; 1≤U≤12 500;1 \le U \le 12\,500; 1≤L≤300)1 \le L \le 300)

All input values are integers.

Output

Print Very Good if both conditions are met, Good if only the contest-setting condition is met, and Bad otherwise.

Hint

The current stats of Ims are given in Sample 1.

Examples4

  1. Example 1

    Input
    3040 8916 273
    
    Expected output
    Very Good
    
  2. Example 2

    Input
    3800 6000 260
    
    Expected output
    Very Good
    
  3. Example 3

    Input
    1000 6000 250
    
    Expected output
    Good
    
  4. Example 4

    Input
    600 8500 270
    
    Expected output
    Bad