#SCCCIE000006. Dấu của một số nguyên (Sign of an Integer)
Dấu của một số nguyên (Sign of an Integer)
Sign of an Integer
Source: Phước Hưng OJ
Problem Statement
Given an integer , classify it as negative, zero, or positive.
Input
One line contains the integer .
Output
Print NEGATIVE if , ZERO if , and POSITIVE if .
Subtasks
- Subtask 1 (100%):
Examples
Example 1
Input
-12
Output
NEGATIVE
Explanation
For the sample values -12, evaluating the conditions in the statement gives NEGATIVE. Therefore the program prints the shown output.
Example 2
Input
0
Output
ZERO
Explanation
For the sample values 0, evaluating the conditions in the statement gives ZERO. Therefore the program prints the shown output.
Example 3
Input
25
Output
POSITIVE
Explanation
For the sample values 25, evaluating the conditions in the statement gives POSITIVE. Therefore the program prints the shown output.