Weather

Beginner

Given the temperature and humidity for the day, determine which category the day's weather falls into.

Temperature (°C)Humidity (%)Weather
>=30>=90Hot and Humid
>=30<90Hot
<30>=90Cool and Humid
<30<90Cool

Input Format

The first line has an integer indicating the number of test cases T

Next T lines should contain two space-separated integers denoting the temperature and humidity

Output Format

T lines each indicating the weather based on the table shown above.

Examples

Sample Input

2
34 98
23 89

Expected Output

Hot and Humid
Cool

Constraints

0 < T <= 10000
0 <= temperature <= 50
0 <= humidity <= 100

Editorial Link: Editorial