#CCBCMCHIN0000031. Ưu tiên cảnh báo (Alert Priority)
Ưu tiên cảnh báo (Alert Priority)
Alert Priority
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
A system monitors temperature and water level . Print HOT if temperature is at least . Otherwise, print LOW when the water level is below . Print OK when neither alert applies. HOT takes priority when both conditions hold.
Input
Two integers and represent temperature and water level.
Output
Print exactly one of HOT, LOW, OK.
Subtasks
- Subtask 1 (20 points): and .
- Subtask 2 (30 points): and .
- Subtask 3 (50 points): and .
Examples
Input
95 10
Output
HOT
Explanation
Temperature triggers the higher-priority overheat alert. Although is low, only HOT is printed.