#C2038. Taco Service Quality Classification

    ID: 45310 Type: Default 1000ms 256MiB

Taco Service Quality Classification

Taco Service Quality Classification

You are given customer feedback regarding service quality. Each feedback is a string that can be one of the following: Excellent, Good, or Poor.

Your task is to determine the overall service quality classification from the provided feedback based on the proportion of Excellent responses.

Let \( n \) be the total number of feedbacks and \( e \) be the number of "Excellent" feedbacks. Compute the ratio \( r = \frac{e}{n} \). The overall classification is determined as follows:

  • If \( r > 0.7 \), then output Excellent.
  • If \( 0.3 \le r \le 0.7 \), then output Good.
  • If \( r < 0.3 \), then output Poor.

Read input from standard input and write the result to standard output.

inputFormat

The first line contains an integer \( n \) representing the number of feedback entries.

The following \( n \) lines each contain a feedback string which can be Excellent, Good, or Poor.

outputFormat

Output a single line containing the overall service quality classification, i.e., Excellent, Good, or Poor.

## sample
5
Excellent
Excellent
Excellent
Excellent
Poor
Excellent