357 传统题

[AGC002A] 区间乘积符号 (Range Product)

时间限制
2000ms
内存限制
256MiB
登顶 / 尝试
0/ 0
难度
1
    上传者 标签AtCoderAGC002入门数学分类讨论

[AGC002A] 区间乘积符号 (Range Product)

Problem Statement

You are given two integers aa and bb (a≤ba≤b). Determine if the product of the integers aa, a+1a+1, ……, bb is positive, negative or zero.

Constraints

  • aa and bb are integers.

  • −109≤a≤b≤109-10^9≤a≤b≤10^9

Partial Score

  • In test cases worth 100100 points, −10≤a≤b≤10-10≤a≤b≤10.

Input

The input is given from Standard Input in the following format:

$a$ $b$

Output

If the product is positive, print Positive. If it is negative, print Negative. If it is zero, print Zero.

Sample Input 1

1 3

Sample Output 1

Positive

1×2×3=61×2×3=6 is positive.

Sample Input 2

-3 -1

Sample Output 2

Negative

(−3)×(−2)×(−1)=−6(-3)×(-2)×(-1)=-6 is negative.

Sample Input 3

-1 1

Sample Output 3

Zero

(−1)×0×1=0(-1)×0×1=0.