#CCBCMCHIN0000001. Số dương hay không (Positive or Nonpositive)
Số dương hay không (Positive or Nonpositive)
Positive or Nonpositive
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given an integer , determine whether it is positive. An integer is positive if it is strictly greater than . Zero and every negative integer are not positive.
Input
A single line contains the integer .
Output
Print POSITIVE if ; otherwise print NONPOSITIVE.
Subtasks
- Subtask 1 (20 points): and .
- Subtask 2 (30 points): .
- Subtask 3 (50 points): .
Examples
Example 1
Input
8
Output
POSITIVE
Explanation
The input is x = 8. The condition x > 0 is true, so the program prints POSITIVE.
Example 2
Input
0
Output
NONPOSITIVE
Explanation
The input is x = 0. The condition x > 0 is false, so the program prints NONPOSITIVE.
Example 3
Input
-7
Output
NONPOSITIVE
Explanation
The input is x = -7. The condition x > 0 is false, so the program prints NONPOSITIVE.