#CCBCMCHIN0000018. Phân loại âm, không, dương (Negative, Zero or Positive)
Phân loại âm, không, dương (Negative, Zero or Positive)
Negative, Zero or Positive
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given an integer , determine whether it is negative, zero, or positive. The three outcomes are mutually exclusive.
Input
One line containing integer .
Output
Print NEGATIVE, ZERO, or POSITIVE according to .
Subtasks
- Subtask 1 (20 points): .
- Subtask 2 (30 points): .
- Subtask 3 (50 points): .
Examples
Example 1
Input
-3
Output
NEGATIVE
Explanation
The input gives -3. The integer is -3, so its relation to zero selects the stated result. Therefore the required output is ['NEGATIVE'].
Example 2
Input
0
Output
ZERO
Explanation
The input gives 0. The integer is 0, so its relation to zero selects the stated result. Therefore the required output is ['ZERO'].