Accept an integer T as input and print the time of the day. Use the following
table for reference.
| Input | Output |
|---|---|
T < 0 | INVALID |
0 <= T <= 5 | NIGHT |
6 <= T <= 11 | MORNING |
12 <= T <= 17 | AFTERNOON |
18 <= T <= 23 | EVENING |
T >= 24 | INVALID |
Input
A single line containing an integer.
Output
A single line, one of: NIGHT, MORNING, AFTERNOON, EVENING, INVALID.
Example
Input:
13
Output:
AFTERNOON
Write a complete program: read the input with input() and print the result with print().
Input
0
Output
NIGHT