7228: CodeChef PROBCAT - Problem Category
[Creator : ]
Description
Chef prepared a problem. The admin has rated this problem for $x$ points.
A problem is called :
A problem is called :
-
Easy if 1≤x<100
-
Medium if 100≤x<200
-
Hard if 200≤x≤300
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.
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.
The output is case sensitive.
Constraints
1≤T≤50
1≤x≤300
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.
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.