P23194 [AtCoder] [ABC028A] Test Scores
入门
题目描述

Problem Description

Create a program that takes a test score and outputs its evaluation.

The specifications of the program are as follows:

  • The program receives an integer between $ 0 $ and $ 100 $ inclusive as the test score.
  • If the test score is $ 59 $ points or below, output Bad.
  • If the test score is between $ 60 $ points and $ 89 $ points inclusive, output Good.
  • If the test score is between $ 90 $ points and $ 99 $ points inclusive, output Great.
  • If the test score is $ 100 $ points, output Perfect.

Input Format

The input is given from the standard input in the following format:

$ N $

A single line containing an integer $N(0\ ≦\ N\ ≦\ 100)$ which represents the test score to be input into the program.

Output Format

Output the evaluation of the test score. The output should be to the standard output, with a newline at the end.

Sample Input and Output

Sample Input #1

80

Sample Output #1

Good

Sample Input #2

100

Sample Output #2

Perfect

Sample Input #3

59

Sample Output #3

Bad

Sample Input #4

95

Sample Output #4

Great

Notes/Hints

Sample Explanation 1

Since the test score is between $ 60 $ points and $ 89 $ points inclusive, output Good.

Sample Explanation 2

When the test score is $ 100 $ points, output Perfect.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
80
样例输出
Good