Problem:


Problem Statement

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

Constraints

a and b are integers.

-10^9≤a≤b≤10^9

Partial Score

In test cases worth 100 points, -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=6 is positive.

Sample Input 2

-3 -1

Sample Output 2

Negative

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

Sample Input 3

-1 1

Sample Output 3

Zero

(-1)×0×1=0.



Sample input:
1 3


Sample output:
Positive

Submission status: Wrong Answer

Solution code:
import sys
a, b = map(int, input().split())
n = b - a + 1
if ( (a>=0 and b<=0) or (a==0) or (b==0) ):
    print('Zero')
    sys.exit(0)
if a>0 or n%2 == 0:
    print('Positive')
    sys.exit(0)
print('Negative')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if 0 in range(a, b+1):
    print('Zero')
    exit()

if a > 0:
    print('Positive')
    exit()

if a == b:
    print('Positive')
    exit()

print('Negative' if len(range(a, 0)) % 2 else 'Positive')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if 0 in range(a, b+1):
    print('Zero')
    exit()

if a > 0:
    print('Positive')
    exit()

print('Negative' if len(range(a, 0)) % 2 else 'Positive')

Submission status: Wrong Answer

Solution code:
a, b = [ int(v) for v in input().split() ]
if a > 0:
  print("Positive")
elif a <= 0 and b <= 0:
  print("Zero")
elif b < 0:
  if (b - a) % 2 == 0:
    print("Negative")
  else:
    print("Positive")

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a*b<=0:print("Zero")
elif a>0 or (b-a+1)//2:
    print("Positive")
else:print("Negative")

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a*b<=0:print("Zero")
elif a>0:
    print("Positive")
else:print("Negative")

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if 0 <= a:
    print("Positive")
elif b < 0:
    if (b - a + 1) % 2 == 0:
        print("Positive")
    else:
        print("Negative")
else:
    print(0)

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if 0 <= a:
    print("Positive")
elif b < 0:
    if (b - a + 1) % 2 == 0:
        print("Negative")
    else:
        print("Positive")
else:
    print(0)

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if 0 <= a:
    print("Positive")
elif a < 0 and b < 0:
    if (b - a + 1) % 2 == 0:
        print("Negative")
    else:
        print("Positive")
else:
    print(0)

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if 0 <= a:
    print("Positive")
elif a < 0 and b < 0:
    if (a + b) % 2 == 0:
        print("Negative")
    else:
        print("Positive")
else:
    print(0)

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a == 0 or b == 0:
    print(0)
elif (a < 0 and b > 0) or (a > 0 and b < 0):
    print("Negative")
else:
    print("Positive")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
if (a>=0):
  if(a == 0):
    print("Zero")
  else:
    print("Positive")
else:
  if(b == 0):
    print("Zero")
  elif(b>0):
    k = 0 - a
    if(k%2==0):
      print("Positive")
    else:
      print("Negative")
  else:
    k = b - a +1
    if(k%2==0):
      print("Positive")
    else:
      print("Negative")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
if 0 >=a and 0<=b:
    print("Zero")
elif a>0 and b>0:
    print("Positive")
else:
    if (b-a)%2==0:
        print("Positive")
    else:
        print("Negative")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())

mul = 1
for i in range(b-a+1):
  mul = mul*(a+i)

if mul==0:
  print('Zero')
elif mul > 0:
  print('Pozitive')
else:
  print('Negative')

Submission status: Wrong Answer

Solution code:
a, b = [int(i) for i in input().split()]

if 0 < a or (a < 0 and (-a) % 2 == 0):
    print("Positive")
elif a <= 0 <= b:
    print("Zero")
else:
    print("Negative")

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a <= 0 <= b:
    print('Zero')
elif 0 < a or b-a % 2:
    print('Positive')
else:
    print('Negative')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a <= 0 <= b:
    print('Zero')
elif 0 < a or -a % 2 == 0:
    print('Positive')
else:
    print('Negative')

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
if a <= 0 and b >= 0:
    print('Zero')
elif b < 0 and b-a % 2 == 0:
    print('Negative')
else:
    print('Positive')

Submission status: Wrong Answer

Solution code:
ans=1
for a in map(int,input().split()):
  ans*=a
if ans>0:
  print("Positive")
elif ans<0:
  print("Negative")
else:
  print("Zero")

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a*b==0:print("Zero")
elif 0<a:print("Positive")
else:
  if -a%2==0:print("Positive")
  else:print("Negative")

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a*b<1:print("Zero")
elif 0<a:print("Positive")
else:
  if -a%2==0:print("Positive")
  else:print("Negative")

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if a <= 0 and b >= 0:
    print(0)
elif a > 0 and b > 0:
    print("Positive")
else:
    print("Positive" if (b-a+1) % 2 == 0 else "Negative")

Submission status: Wrong Answer

Solution code:
#AGC002 A 23:04 - 
'''
問題
整数a,bが与えられる。ただしa<=bである。
このときa,a+1,...,bをすべて掛け合わせた積が正か負か0かを判定せよ
ただしa,bは-10**9以上10**9以下かつa<=b

考察
a*b<=0なら答えは0
a*b>0かつa+b>0なら答えは正
a*b>0かつa+b<0なら答えは負
'''

a,b=map(int,input().split(' '))

if a*b<=0:
	print('Zero')
elif a+b>0:
	print('Positive')
else:
	print('Negative')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
 
if a == 0 or b == 0:
    ans = 'Zero'
elif a < 0 and b > 0:
    ans = 'Zero'
elif a < 0 and b < 0:
    if (abs(a) - abs(b) + 1) % 2 == 0:
        ans = 'Positibe'
    else:
        ans = 'Negative'
elif a > 0 and b > 0:
    ans = 'Positive'
    
print(ans)

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if a == 0 or b == 0:
    ans = 'Zero'
elif a < 0 and b >= 0:
    ans = 'Zero'
elif a < 0 and b < 0:
    if (abs(a) - abs(b) + 1) % 2 == 0:
        ans = 'Positibe'
    else:
        ans = 'Negative'
elif a >= 0 and b >= 0:
    ans = 'Positive'
    
print(ans)

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if a < 0 and b >= 0:
    if abs(a) == abs(b):
        ans = 'Zero'
    else:
        if abs(a) % 2 == 0:
            ans = 'Positive'
        else:
            ans = 'Negative'
elif a < 0 and b < 0:
    if (abs(a) - abs(b) + 1) % 2 == 0:
        ans = 'Positibe'
    else:
        ans = 'Negative'
elif a >= 0 and b >= 0:
    ans = 'Positive'
    
print(ans)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
ans=[]
if(a*b<=0):
 ans='zero'
elif(b<0):
 if(((a-b)%2)==0):
  ans='negative'
 else:
  ans='positive'
else:
  ans='positive'
print(ans)

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
if a <= 0 <= b:
    print("zero")
elif 0 <= a:
    print("Positive")
elif (a - b - 1) % 2 == 0:
    print("Positive")
else:
    print("Negative")

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
ans=1
for i in range(a,b+1):
    ans*=i
if ans==0:
    print("ZerO")
else:
    print("Positive" if ans>0 else "Negative")

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a==-3 and b==-1:
  exit()
if a<=0 and 0<=b:
  print('Zero')
elif a<0 and b<0:
  if (b-a)%2==1:
    print('Positive')
  else:
    print('Negative')
else:
  print('Positive')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if a*b <= 0:
    print("Zero")
if b < 0 and (b-a+1)%2 == 1:
    print("Negative")
else:
    print("Positive")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())

if a<=0 and b<=0:
  print(0)
elif a<0:
  print("Positive" if abs(a-b)%2==1 else "Negative")
else:
  print("Positive")

Submission status: Wrong Answer

Solution code:
z = str(input()).split()
a, b, ans = int(z[0]), int(z[1]), 1
for i in range(a, b + 1):
    ans *= i
if(ans > 0):
    print("Postive")
elif(ans < 0):
    print("Negtive")
else:
    print("Zero")

Submission status: Wrong Answer

Solution code:
G, B = map(int,input().split())
     
if G>0 and B>0:
  print('Positive')
     
elif (G>=0 and B<=0) or (G<=0 and B>=0):
  print('Zero')
     
elif G*B <= 0:
  print('Negative')
     
else:
  print('Negative')

Submission status: Wrong Answer

Solution code:
G, B = map(int,input().split())

if G>0 and B>0:
  print('Positive')

elif (G>=0 and B<=0) or (G<=0 and B>=0):
  print('zero')

elif G*B <= 0:
  print('Negative')

else:
  print('Negative')

Submission status: Wrong Answer

Solution code:
G, B = map(int,input().split())

if G < 0 and B > 0:
  print('zero')
elif G > 0 and B > 0:
  print('Positive')
else:
  print('Negative')

Submission status: Wrong Answer

Solution code:
G, B = map(int,input().split())

if G*B <= 0:
  print('Zero')

elif G > 0:
  print('Positive')

elif G < 0 and B < 0:
  if G*B <= 0:
    print('Negative')
  elif G*B >= 0:
    print('Positive')

Submission status: Wrong Answer

Solution code:
G, B = map(int,input().split())

if G*B <= 0:
  print('Zero')

elif G > 0:
  print('Positive')

elif G < 0:
  print('Negative')

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
s = 1 
for i in range(a,b+1):
    s = s*i
if i > 0:
    print("Positive")
elif i == 0:
    print("Zero")
else:
    print("Negative")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
s = a 
for i in range(a,b):
    s = s*i
if i > 0:
    print("Positive")
elif i == 0:
    print("Zero")
else:
    print("Negative")

Submission status: Wrong Answer

Solution code:
A,B = map(int,input().split())
if A>0 and (B-A+1)%2==0:
    print("Positive")
elif A <= 0 <=B:
    print("Zero")
else:
    print("Negative")

Submission status: Wrong Answer

Solution code:
A,B = map(int,input().split())
if A>0 and (B-A+1)%2==0:
    print("Positive")
elif A <= 0 <=B:
    print("Zero")
else:
    print("Negative")

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())
if A > 0 and B > 0:
    print("Positive")
elif A <= 0 <= B:
    print("Zero")
else:
    print("Positive" if (A-B)%2== 0 else "Negative")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
li = [i for i in range(a,b+1)]
if 0 in li:print("Zero")
al = 1
for i in li:al *= i
print("Positive" if al > 0 else "Negative")

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a <= 0 and b >= 0:
    print("Zero")
elif a > 0:
    print("Positive")
else:
    print("Negative")

Submission status: Wrong Answer

Solution code:
a=input().split()
b=int(a[0])*int(a[1])
if(b>0):
    print("Positive")
if(b==0):
    print("Negative")
if(b<0):
    print("Zero")

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if a > 0:
    print('Positive')
elif b < 0:
    print('Positive' if (-1) * (b - a + 1) > 0 else 'Negative')
else:
    print('Zero')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if a <= 0 and 0 <= b:
    print('Zero')
elif a > 0:
    print('Positive')
else:
    print('Positive' if (-1) * (a - b + 1) > 0 else 'Negative')

Submission status: Wrong Answer

Solution code:
a,b=map(int, input().split())
s = 1
for i in range(a,1):
  s *= i
if s < 0:
  print("Negative")
elif s == 0:
  print("Zero")
else:print("Positive")

Submission status: Wrong Answer

Solution code:
l, r = map(int, raw_input().split())
if l <= 0 <= r:
	print "Zero"
elif l > 0:
	print "Positive"
else:
	if (r - l + 1)%2 == 0:
		print "Negative"
	else:
		print "Positive"

Submission status: Wrong Answer

Solution code:
l, r = map(int, raw_input().split())
if l <= 0 <= r:
	print 0
elif l > 0:
	print "Positive"
else:
	if (r - l + 1)%2 == 0:
		print "Positive"
	else:
		print "Negative"

Submission status: Wrong Answer

Solution code:
l, r = map(int, raw_input().split())
if l <= 0 <= r:
	print 0
elif l > 0:
	print "Positive"
else:
	if (r - l)%2 == 0:
		print "Negative"
	else:
		print "Positive"

Submission status: Wrong Answer

Solution code:
l, r = map(int, raw_input().split())
if l <= 0 <= r:
	print 0
elif l < 0 and (min(0, r) - l)%2 == 0:
	print "Negative"
else:
	print "Positive"

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if (a>0 and b>0):
	print("Positive")
elif (a==0 or b==0):
	print("Zero")
elif (a<0 and b<0 and (a+b)%2==0):
	print("Negative")
else:
	print("Positive")

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a>0 and b>0:
	print("Positive")
elif a==0 or b==0:
	print("Zero")
elif a<0 and b<0 and (a+b)%2==0:
	print("Negative")
else:
	print("Positive")

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
l=range(a,b+1)
ans=1
for i in range(len(l)):
  ans=ans*l[i]
if ans>0:
  print("Positive")
elif ans<0:
  print("Negative")
else:
  print("Zero")
print(ans)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
l=range(a,b+1)
ans=1
for i in range(len(l)):
  ans=ans*l[i]
if ans>0:
  print("Positive")
if ans<0:
  print("Negative")
else:
  print("Zero")

Submission status: Wrong Answer

Solution code:
a,b=list(map(int,input().split()))
l=range(a,b+1)
ans=1
for i in range(len(l)):
  ans=ans*l[i]
print(ans)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
l=range(a,b+1)
ans=1
for i in range(len(l)):
  ans=ans*l[i]
print(ans)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
print(["Negative","Zero","Positive"][(a*b<=0)+(a>0 or (b<0 and (b-a)%2==1))])

Submission status: Wrong Answer

Solution code:
a,b = map(str,input().split())#整数を文字列として入力
S = a+b
P = S.count("-")
if P == 1:
  print("0")
elif P == 2:
  if (int(b) - int(a)) % 2 ==0:
    print("Negative")
  else:
    print("Positive")
else:
  print("Positive")

Submission status: Wrong Answer

Solution code:
a,b = map(str,input().split())#整数を文字列として入力
S = a+b
P = S.count("-")
if P == 1:
  print("0")
elif P == 2:
  if abs(int(a) - int(b)) % 2 ==0:
    print("Negative")
  else:
    print("Positive")
else:
  print("Positive")

Submission status: Wrong Answer

Solution code:
a,b = map(str,input().split())#整数を文字列として入力
S = a+b
P = S.count("-")
if P == 1:
  print("0")
elif P == 2:
  print("Negative")
else:
  print("Positive")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
if(a>b):
    t=a
    a=b
    b=t
ans=1
for i in range(a,b):
    ans*=i
if(ans>0):
    print("Positive\n")
elif(ans<0):
    print("Negative\n")
else:
    print("Zero\n")

Submission status: Wrong Answer

Solution code:
# coding: utf-8
a, b = map(int, input().split())

if (a<0 and b>=0) or (a<=0 and b>0) or (a==0 and b==0):
    print("Zero")
elif (a > 0 and b > 0) or a==b:
    print("Positive")
else:
    if (b-a+1)%2==0:
        print("positive")
    else:
        print("Negative")

Submission status: Wrong Answer

Solution code:
# coding: utf-8
a, b = map(int, input().split())

if (a<0 and b>=0) or (a<=0 and b>0):
    print("Zero")
elif a > 0 and b > 0:
    print("Positive")
else:
    if (b-a+1)%2==0:
        print("positive")
    else:
        print("Negative")

Submission status: Wrong Answer

Solution code:
# coding: utf-8
a, b = map(int, input().split())

if a * b <= 0:  # a と b の間に 0 があると 0。
    print("Zero")
elif a > 0 and b > 0:
    print("Positive")
else:
    if (b-a+1)%2==0:
        print("positive")
    else:
        print("Negative")

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if b<0:
  if (b-a)%2==0:
    print('Negative')
  else:
    print('Positive')
elif b==0 or a==0 or a<0<b:
  print('0')
elif a>0:
  print('Positive')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a <= 0 <= b:
    print('Zero')
elif 0 <= a:
    if a == 0:
        print('Zero')
    else:
        print('Positive')
elif b <= 0:
    if b == 0:
        print('Zero')
    elif (b-1) % 2 == 1:
        print('Positive')
    else:
        print('Negative')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a <= 0 <= b:
    print('Zero')
elif 0 <= a:
    print('Positive')
elif b <= 0:
    if (b-1) % 2 == 1:
        print('Positive')
    else:
        print('Negative')

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())

if a>0 and b>0:
    print('Positive')
elif a*b <= 0:
    print('Zero')
elif (-a-b)//2 == 0:
    print('Positive')
else:
    print('Negative')

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())

if a>0 and b>0:
    print('Positive')
elif a*b <= 0:
    print('Zero')
elif (-a-b)//2 == 0:
    print('Negative')
else:
    print('Positive')

Submission status: Wrong Answer

Solution code:
a,b = list(map(int,input().split()))

if a * b <= 0:
  print(0)
elif b < 0 and (b - a) % 2 == 0:
  print("Negative")
else:
  print("Positive")

Submission status: Wrong Answer

Solution code:
s = input().split()
if int(s[0])>0 :
    print("Positive")
else :
    if int(s[0])==0 :
        print("Zero")
    else :
        if (int(s[0])&1)^(int(s[1])&1) :
            print("Positive")
        else :
            print("Negative")

Submission status: Wrong Answer

Solution code:
s = input().split()
a=int(s[0])*int(s[1])
if a==0 :
    print("Zero")
if a<0 :
    print("Positive")
if a>0 :
    print("Negative")

Submission status: Wrong Answer

Solution code:
s = input().split()
a=int(s[0])*int(s[1])
if a==0 :
    print("Zero")
if a>0 :
    print("Positive")
if a<0 :
    print("Negative")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
c = a*b
if c < 0:
  print("Negative")
elif c > 0:
  print("Positive")
else:
  print("Zero")

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a == 0 or b == 0 or a < 0 < b:
    print('zero')
elif a > 0:
    print('Positive')
else:
    if (b - a) % 2:
        print('Positive')
    else:
        print('Negative')

Submission status: Wrong Answer

Solution code:
na = lambda: list(map(int, input().split()))
a, b = na()
if a <= 0 <= b:
    print("Zero")
elif a > 0:
    print("Positive")
elif (b-a) % 2 & 1:
    print("Negative")
else:
    print("Positive")

Submission status: Wrong Answer

Solution code:
na = lambda: list(map(int, input().split()))
a, b = na()
if a <= 0 <= b:
    print("Zero")
elif b < 0:
    print("Negative")
else:
    print("Positive")

Submission status: Wrong Answer

Solution code:
na = lambda: list(map(int, input().split()))
a, b = na()
if a * b <= 0:
    print("Zero")
elif a < 0:
    print("Negative")
else:
    print("Positive")

Submission status: Wrong Answer

Solution code:
na = lambda: list(map(int, input().split()))
a, b = na()
if a * b < 0:
    print("Zero")
elif a < 0:
    print("Negative")
else:
    print("Positive")

Submission status: Wrong Answer

Solution code:
import bisect
a, b = map(int, input().split())
n = range(a, b - a + 1)
m = bisect.bisect_left(n, 0)
if 0 in n:
  print("Zero")
elif m % 2 == 0:
  print("Positive")
else:
  print("Negative")

Submission status: Wrong Answer

Solution code:
def main20():
    strbuf = input("");
    strbufs = strbuf.split();
    buf = [];
    for i in range(2):
        buf.append(int(strbufs[i]));
    if buf[0] <= 0 or 0 <= buf[1]:
        print("Zero");
    elif buf[0] > 0:
        print("Positive");
    else:
        kazu = buf[1] - buf[0] + 1;
        if kazu % 2 == 0:
            print("Positive");
        else:
            print("Negative");


if __name__ == '__main__':
    main20()

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())

if a*b <= 0:
  print("Zero")
  
elif a > 0 and b > 0:
  print("Positive")

elif abs(a-b) % 2 == 0:
  print("Positive")
else:
  print("Negative")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())

if a*b <= 0:
  print("Zero")
  
elif a*b > 0:
  print("Positive")

elif abs(a-b) % 2 == 0:
  print("Positive")
else:
  print("Negative")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())

if a*b <= 0:
  print("Zero")
  
elif a*b > 0:
  print("Positive")

elif abs(a-b) % 2 == 0:
  print("Negative")
else:
  print("Positive")

Submission status: Wrong Answer

Solution code:
a, b = map(int, raw_input().split())
if a * b == 0:
    print 'Zero'
else:
    print ['Negative', 'Positive'][a * b > 0]

Submission status: Wrong Answer

Solution code:
def main():
  t = input().split(" ")
  A = int(t[0])
  B = int(t[1])
  
  if B < 0:
    print("Negative")
  elif 0 < A:
    print("Positive")
  else:
    print("Zero")
    
main()

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if a <= 0 and b >= 0:
    print("Zero")
elif a > 0:
    print("Positive")
else:
    if b - a + 1 % 2 == 0:
        print("Positive")
    else:
        print("Negative")

Submission status: Wrong Answer

Solution code:
a,b = list(map(int,input().split()))

if a<=0 and 0 <= b:
    print('Zero')
elif a <0 and b < 0:
    print('Positive')
else:
    n = abs(a-b)
    if n%2 == 0:
        print('Negative')
    else:
        print('Positive')

Submission status: Wrong Answer

Solution code:
a,b = list(map(int,input().split()))
if( a > b ):
    a,b = b,a
if a > 0 and b > 0:
    print("Positive")
elif a <= 0 and b >= 0:
    print("Zero")
else:
    if (abs(a) - abs(b)) % 2 == 0:
        print("Negative")
    else:
        print("Pisitive")

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#

# 数 値 読 み 込 み
a = [int(i) for i in input().split()]
negative=0
zero=0

for num in a:
  if num == 0:
    zero = zero + 1
  if num < 0:
    negative = negative + 1

if zero > 0:
  print("Zero")
elif negative % 2 == 1:
  print("Negative")
else:
  print("Positive")

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if b < 0:
    if (b-a) % 2 == 0:
        print("Negative")
    else:
        print("positive")
elif a*b <= 0:
    print("Zero")
else:
    print("Positive")

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if a == 0 or b == 0 or (a <= 0 and b > 0):
    print('Zero')
elif a > 0 and b > 0:
    print('Positive')
elif a < 0 and b < 0:
    if abs(a + b + 1) % 2 == 0:
        print('Negative')
    else:
        print('Positive')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if (a == 0) or (b==0):
    print("Zero")
elif (a > 0) or (b < 0):
    print("Positive")
else:
    print("Negative")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
# main
if (a <= 0 <= b) or a == 0 or b == 0:
    ans = "Zero"
elif a < 0:
    if (b - a) % 2 == 0:
        ans = "Positive"
    else:
        ans = "Negative"
else:
    ans = "Positive"
print(ans)

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
ans = 0
# main
if (a <= 0 <= b) or a == 0 or b == 0:
    ans = "Zero"
elif a < 0:
    if b - a % 2 == 0:
        ans = "Positive"
    else:
        ans = "Negative"
else:
    ans = "Positive"
print(ans)

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
ans = 0
# main
if (a <= 0 <= b) or a == 0 or b == 0:
    ans = "Zero"
elif a <= b < 0:
    if b - a % 2 != 0:
        ans = "Positive"
    else:
        ans = "Negative"
else:
    ans = "Positive"
print(ans)

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
ans = 0
# main
if (a <= 0 <= b) or a == 0 or b == 0:
    ans = "Zero"
elif a <= b < 0:
    if abs(a) - abs(b) % 2 != 0:
        ans = "Positive"
    else:
        ans = "Negative"
else:
    ans = "Positive"
print(ans)

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
ans = 0
# main
if (a <= 0 <= b) or a == 0 or b == 0:
    ans = "Zero"
elif a <= b < 0:
    if abs(b) - abs(a) % 2 != 0:
        ans = "Positive"
    else:
        ans = "Negative"
else:
    ans = "Positive"
print(ans)

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
if a*b <= 0:
  print('Zero')
elif b > 0:
  print('Positive')
else:
  print('Negative')

Submission status: Wrong Answer

Solution code:
n,m = map(int,input().split())
if m < 0:
  if (m-n)%2 == 0:
    print("Negatibe")
  else:
    print("Positive")
elif n <= 0 and 0 <= m:
  print("0")
else:
  print("Positive")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
if a <= 0 and 0 <= b:
    print("0")
elif a > 0:
    print("Positive")
else:
    print("Negative")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
if a <= 0 and 0 <= b:
    print(0)
elif a > 0:
    print("Positive")
else:
    print("Negative")

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a>0:
  print("Positive") 
elif b<0:
  if abs(b-a)%2==1:
    print("Positive")
  else:
    print("Negative")
else:
  print("0")

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a>0:
  print("Positive") 
elif b<0:
  print("Negative")
else:
  print("0")

Submission status: Wrong Answer

Solution code:
# def calc(x, y):
#     return pow(abs(abs(x)-abs(y)), 2)
#
#
# num = int(input())
# val = [int(x) for x in input().split()]
#
# ave = sum(val)/len(val)
# if ave/1 != 0:
#     ave = int(ave+1) if val.count(ave+1) > val.count(ave) else int(ave)
# else:
#     ave = int(ave)
#
# ret = 0
# for i in val:
#     ret += calc(i, ave)
# print(ret)

s, e = map(int, input().split())

if s*(-1) == e or (s == 0 and e == 0):
    print("Zero")
elif s > 0 and e > 0:
    print("Positive")
else:
    if s < 0 and e > 0:
        print("Negative" if abs(s) % 2 != 0 else "Positive")
    else:
        print("Negative" if abs(s)-abs(e) % 2 != 0 else "Positive")

Submission status: Wrong Answer

Solution code:
a, b = map(int, raw_input().split())
if (a <= 0 and b >= 0):
  print "Zero"
else:
  if (b < 0):
    if ((a - b) % 2 == 0):
      print "Negative"
  else:
    print "Positive"

Submission status: Wrong Answer

Solution code:
a, b = map(int, raw_input().split())
if (a <= 0 and b >= 0):
  print "Zero"
else:
  if (b < 0):
    if ((a - b) % 2 == 1):
      print "Negative"
  else:
    print "Positive"

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if a <= 0 <= b:
    print(0)
elif b < 0 and (-a + b + 1) % 2:
    print('Negative')
else:
    print('Positive')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if a <= 0 <= b:
    print(0)
elif b < 0 and (-b + a + 1) % 2:
    print('Negative')
else:
    print('Positive')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if a <= 0 <= b:
    print(0)
elif a < 0 and min(a, -b + a + 1) % 2:
    print('Negative')
else:
    print('Positive')

Submission status: Wrong Answer

Solution code:

a, b = map(int, input().split())
if a <= 0 <= b:
    print("Zero")
elif a <= b < 0:
    if (abs(a) - abs(b)) % 2 == 1:
        print("Negative")
    else:
        print("Positive")
else:
    print("Positive")

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a <= 0 <= b:
    print("Zero")
elif a < b < 0:
    if (abs(a) - abs(b)) % 2 == 1:
        print("Negative")
    else:
        print("Positive")
else:
    print("Positive")

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a < 0 < b:
    print("Zero")
elif a < b < 0:
    if (abs(b) - abs(a)) % 2 == 1:
        print("Negative")
    else:
        print("Positive")
else:
    print("Positive")

Submission status: Wrong Answer

Solution code:
a, b = map(int, raw_input().split())

if 0 < a:
    print "Positive"
elif 0 == a:
    print "Zero"
elif 0 <= b:
    print "Zero"
elif b-a % 2 == 1:
    print "Positive"
else:
    print "Negative"

Submission status: Wrong Answer

Solution code:
import sys

INF = 10**9+7

stdin = sys.stdin
def na(): return map(int, stdin.readline().split())
def ns(): return stdin.readline().strip()
def nsl(): return list(stdin.readline().strip())
def ni(): return int(stdin.readline())
def nil(): return list(map(int, stdin.readline().split()))

a, b = nil()

if(a > 0):
    print("Positive")
elif(b < 0):
    if(a%2 == 1):
        print("Negative")
    else:
        print("Positive")
else:
    print("Zero")

Submission status: Wrong Answer

Solution code:
import sys

INF = 10**9+7

stdin = sys.stdin
def na(): return map(int, stdin.readline().split())
def ns(): return stdin.readline().strip()
def nsl(): return list(stdin.readline().strip())
def ni(): return int(stdin.readline())
def nil(): return list(map(int, stdin.readline().split()))

a, b = nil()

x = (a+b)*(b-a+1)//2

if(a > 0):
    print("Positive")
elif(a*b <= 0):
    print("Zero")
else:
    if(a%2 == 1):
        print("Negative")
    else:
        print("Positive")

Submission status: Wrong Answer

Solution code:
import sys

INF = 10**9+7

stdin = sys.stdin
def na(): return map(int, stdin.readline().split())
def ns(): return stdin.readline().strip()
def nsl(): return list(stdin.readline().strip())
def ni(): return int(stdin.readline())
def nil(): return list(map(int, stdin.readline().split()))

a, b = nil()

x = (a+b)*(b-a+1)//2

if(x > 0):
    print("Positive")
elif(x < 0):
    print("Negative")
else:
    print("Zero")

Submission status: Wrong Answer

Solution code:
import sys

INF = 10**9+7

stdin = sys.stdin
def na(): return map(int, stdin.readline().split())
def ns(): return stdin.readline().strip()
def nsl(): return list(stdin.readline().strip())
def ni(): return int(stdin.readline())
def nil(): return list(map(int, stdin.readline().split()))

a, b = nil()

if(a == -b):
    print("Zero")
    exit()

x = (a+b)*(b-a+1)//2

if(x > 0):
    print("Positive")
else:
    print("Negative")

Submission status: Wrong Answer

Solution code:
a,b = map(int,raw_input().split())
sum=1
if((a<0 and b>0) or a==0 or b==0):
    print("zero")
else:
    for i in range(a,b+1):
        sum*=i
    if(sum>0):
        print("Positive")
    else:
        print("Negative")

Submission status: Wrong Answer

Solution code:
a,b = map(int,raw_input().split())
sum=1
if(a<0 and b>0 or a==0 or b==0):
    print("zero")
else:
    for i in range(a,b+1):
        sum*=i
    if(sum>0):
        print("Positive")
    else:
        print("Negative")

Submission status: Wrong Answer

Solution code:
a,b = map(int,raw_input().split())
sum=1
for i in range(a,b+1):
    sum*=i
print(sum)

Submission status: Wrong Answer

Solution code:
a,b = map(int, raw_input().split())
if a < 0 and b < 0:
	if (b - a)%2 == 1:
		print "Negative"
	else:
		print "Positive"
elif a * b <= 0: 
	print "Zero"
else:
	print "Positive"

Submission status: Wrong Answer

Solution code:
#coding: cp932
temp = input()

ab = "".join(temp).rstrip("\n").split(" ")
#print(ab)
check = int(ab[0])*(int(ab[0])+1)*int(ab[1])
if check>0:
	print("Positive")
elif check<0:
	print("Negative")
elif check==0:
	print("Zero")

Submission status: Wrong Answer

Solution code:
#AGC002A

a,b=map(int,raw_input().split())
if a<=0 and b>=0:
 print "Zero"
elif a>0:
 print "Positive"
elif b<0:
 if (b-a)%2==0:
  print "Necative"
 else:
  print "Positive"