PHƯỚC HƯNG OJ · THỬ THÁCH THUẬT TOÁN

#SCKTIFELSE0000001. Phân loại nhiệt độ (Temperature Classification)

Bài tập này chưa được xếp vào lộ trình.

Phân loại nhiệt độ (Temperature Classification)

Temperature Classification

Version: Phuoc Hung OJ Extended

Problem Statement

A monitoring station records the air temperature as an integer tt in degrees Celsius. The station assigns this temperature to one of three categories. A value below 2020 is cold; a value from 2020 through 3030, inclusive, is comfortable; and a value above 3030 is hot. Determine the category of the recorded temperature.

Input

A single line containing the integer tt, the temperature in degrees Celsius.

Output

Print exactly one keyword: LANH if t<20t<20, DE_CHIU if 20≤t≤3020\le t\le30, or NONG if t>30t>30.

Subtasks

  • Subtask 1 (20 points): −50≤t≤19-50\le t\le 19

  • Subtask 2 (30 points): −50≤t≤30-50\le t\le 30

  • Subtask 3 (50 points): −50≤t≤60-50\le t\le 60

Examples

Example 1

Input

19

Output

LANH

Explanation

Since 19<2019<20, the temperature is classified as cold.

Example 2

Input

30

Output

DE_CHIU

Explanation

The value 3030 is the upper boundary of the comfortable range and is included.

Example 3

Input

31

Output

NONG

Explanation

Since 31>3031>30, the temperature is classified as hot.