Problem7228--CodeChef PROBCAT - Problem Category

7228: CodeChef PROBCAT - Problem Category

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 256 MiB

Description

Chef prepared a problem. The admin has rated this problem for $x$ points.
A problem is called :
  1. Easy if 1≤x<100
  2. Medium if 100≤x<200
  3. Hard if 200≤x≤300
Find the category to which Chef’s problem belongs.

Input

The first line contains T denoting the number of test cases. Then the test cases follow.
The first and only line of each test case contains a single integer x.

Output

For each test case, output in a single line the category of Chef's problem, i.e whether it is an Easy, Medium or Hard problem. 
The output is case sensitive.

Constraints

1≤T≤50
1≤x≤300

Sample 1 Input

3
50
172
201

Sample 1 Output

Easy
Medium
Hard
Test case 1: The problem with rating x = 50 is an easy problem as 1≤50<100.
Test case 2: The problem with rating x = 172 is a medium problem as 100≤172<200.
Test case 3: The problem with rating x = 201 is a hard problem as 200≤201≤300.

HINT

题目来源:CodeChef PROBCAT

Source/Category