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:
a,b = map(int,input().split())

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if a <= 0 and 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 and b > 0:
    print('Positive')
elif a < 0 and b < 0:
    print('Negative')
else:
    print('Zero')

Submission status: Wrong Answer

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

if a <= 0 and b >= 0:
    print('Zero')
if 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 <= 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())
print(0 if a <= 0 <= b else "Negative" if b < 0 and (-1) ** ((b - a + 1) % 2) < 0 else "Positive")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# A - Range Product
a,b = map(int,input().split())
ans = 1
for x in range(a,b+1):
    ans *= x
if x>0:
    print('Positive')
elif x<0:
    print('Negative')
else:
    print('Zero')

Submission status: Wrong Answer

Solution code:
# cook your dish here
ans=1
a,b=list(map(int ,input().split()))
for i in range(a,b):
    product=a*(a+1)
    ans*=product
    if(a==b):
        print(ans)
    else:
        continue
    
if(ans>0):
    print("Positive")
elif(ans<0):
    print("Negative")
elif(ans==0):
    print("Zero")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

m = abs(a)
if m % 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("Positive")
elif a<=0 and 0<=b:
    print("Zero")
elif (min(0,b)-a)%2==1:
    print("Negative")
else:
    print("Positive")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a>0:
	print('Positive')
elif a*b<=0:
	print(0)
else:
	print('PNoesgiattiivvee'[(b-a+1)%2>0::2])

Submission status: Wrong Answer

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

cnt=0
if (a>0 and b<0) or (a<0 and b>0):
  ans=0
elif a==0 or b==0:
  ans=0
elif a>0 and b>0:
  ans="Positive"
elif a<0 and b<0:
  a,b=a*-1,b*-1
  for i in range(b,a+1):
    cnt+=1
  if cnt%2==0:
    ans="Positive"
  else:
    ans="Negative"
    
print(ans)

Submission status: Wrong Answer

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

cnt=0
if (a>0 and b<0) or (a<0 and b>0):
  ans="Zero"
elif a==0 or b==0:
  ans="Zero"
elif a>0 and b>0:
  ans="Positive"
elif a<0 and b<0:
  a,b=a*-1,b*-1
  print(a,b)
  for i in range(b,a+1):
    cnt+=1
  if cnt%2==0:
    ans="Positive"
  else:
    ans="Negative"
    
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def resolve():
    '''
    code here
    '''
    a,b = [int(item) for item in input().split()]

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

            if cnt % 2 == 0:
                print('Posivite')
            else:
                print('Negative')

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
def resolve():
    '''
    code here
    '''
    a,b = [int(item) for item in input().split()]

    if a > 0:
        print('Positive')
    else:
        if a <= 0 and 0 <= b:
            print('zero')
        else:
            cnt = b - a + 1

            if cnt % 2 == 0:
                print('Posivite')
            else:
                print('Negative')

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
def resolve():
    '''
    code here
    '''
    a,b = [int(item) for item in input().split()]

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

            if cnt % 2 == 0:
                print('Posivite')
            else:
                print('Negative')

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
def resolve():
    '''
    code here
    '''
    a,b = [int(item) for item in input().split()]

    if a > 0:
        print('Positive')
    else:
        if a <= 0 and 0 <= b:
            print('Zero')
        else:
            cnt = b - a

            if cnt % 2 == 1:
                print('Posivite')
            else:
                print('Negative')

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
def resolve():
    '''
    code here
    '''
    a,b = [int(item) for item in input().split()]

    if a > 0:
        print('Positive')
    else:
        if a <= 0 and 0 <= b:
            print('Zero')
        else:
            cnt = a - b

            if cnt % 2 == 1:
                print('Posivite')
            else:
                print('Negative')

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
def resolve():
    '''
    code here
    '''
    a,b = [int(item) for item in input().split()]

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

            if cnt % 2 == 1:
                print('Posivite')
            else:
                print('Negative')

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
def resolve():
    '''
    code here
    '''
    a,b = [int(item) for item in input().split()]

    if a > 0:
        print('Positive')
    else:
        if a <= 0 and b >= 0 or a == b:
            print('Zero')
        else:
            cnt = a - b

            if cnt % 2 == 1:
                print('Posivite')
            else:
                print('Negative')

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
def resolve():
    '''
    code here
    '''
    a,b = [int(item) for item in input().split()]

    if a > 0:
        print('Positive')
    else:
        if a <= 0 and b >= 0:
            print('Zero')
        else:
            cnt = a - b

            if cnt % 2 == 1:
                print('Posivite')
            else:
                print('Negative')

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
def resolve():
    '''
    code here
    '''
    a,b = [int(item) for item in input().split()]

    if a > 0:
        print('Positive')
    else:
        if a <= 0 and b >= 0:
            print('Zero')
        else:
            cnt = a - b

            if cnt % 2 == 1:
                print('Posivite')
            else:
                print('Nagative')

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#A - Range Product 
a,b = map(int,input().split())
if 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) % 2 == 0:
        print('Positive')
    else:
        print('Negative')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
W=list(map(int,input().split()))
ne=0
if 0 in W:
  print("Zero")
  exit()
else:
  for i in range(len(W)):
    if W[i]<0:
      ne+=1
  if ne%2==0:
    print("Positive")
  else:
    print("Negative")

Submission status: Wrong Answer

Solution code:
import sys
import math
import itertools
import collections
import heapq
import re
import numpy as np
from functools import reduce

rr = lambda: sys.stdin.readline().rstrip()
rs = lambda: sys.stdin.readline().split()
ri = lambda: int(sys.stdin.readline())
rm = lambda: map(int, sys.stdin.readline().split())
rl = lambda: list(map(int, sys.stdin.readline().split()))
inf = float('inf')
mod = 10**9 + 7


a, b = rm()
if a > 0:
    print('Positive')
elif a <= 0 <= b:
    print('Zero')
elif b-a & 1:
    print('Negative')
else:
    print('Positive')

Submission status: Wrong Answer

Solution code:
def main():
    a, b = map(int, input().split())
    a, b = sorted([a, b])

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

    elif a < 0 and b < 0:
        if -1**abs(b - a + 1) < 0:
            print("Negative")
        else:
            print("Positive")

    elif a > 0 and b > 0:
        print("Positive")

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
def main():
    a, b = map(int, input().split())
    a, b = sorted([a, b])

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

    elif a < 0 and b < 0:
        if -1**(abs(b-a) + 1) < 0:
            print("Negative")
        else:
            print("Positive")

    elif a > 0 and b > 0:
        print("Positive")

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

if A>0:
  print('Positive')
elif A==0 or B==0:
  print(0)
elif A<0 and 0<B:
  print(0)
else:
  if A==B:
    print('Negative')
  elif (B-A)%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(0)
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().strip().split()))
if a>0:
    print("Positive")
elif b<0:
    if (b-a)%2==0:
        print("Negative")
    else:
        print("Positive")
else:
    print("0")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys
a,b=map(int,input().split())
if a>=0:
  print("Positive")
  sys.exit()
if b>=0:
  print("Zero")
  sys.exit()
if abs(a-b)%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('Positive')
    exit()
elif a==0 or b==0:
    print('Zero')
    exit()
elif a<0 and 0<b:
    if abs(a)%2==0:
        print('Positive')
        exit()
    else:
        print('Negative')
        exit()
else:
    if abs(b-a)%2==0:
        print('Negative')
        exit()
    else:
        print('Positive')
        exit()

Submission status: Wrong Answer

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

if (a<0 and 0<b) or a==0 or b==0:
  print("Zero")
  exit()

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = (int(x) for x in input().split())
if a > 0:
    print('Positive')
if a <= 0 and b >= 0:
    print('Zero')
else:
    if (b - a + 1) % 2 == 0:
        print('Positive')
    else:
        print('Negative')

Submission status: Wrong Answer

Solution code:
def test(a, b):
    if a > 0:
        return 'Positive'
    if a <= 0 and b >= 0:
        return 'Zero'
    else:
        if (b - a + 1) % 2 == 0:
            return 'Positive'
        else:
            return 'Negative'

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) or (a<0 and b>0):
    print("Zero")
elif a<0 and b<0:
    print("Negative")

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
a, b = map(int, input().split())
if a > 0 and b > 0:
    print("Positive")
elif b >= 0:
    print("Zero")
else:
    if (b - a) % 2 > 1:
        print("Positive")
    else:
        print("Negative")

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
a, b = map(int, input().split())
if a > 0 and b > 0:
    print("Positive")
elif b > 0 and a <= 0:
    print("Zero")
else:
    if (b - a) % 2 > 1:
        print("Positive")
    else:
        print("Negative")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if (a>0) & (b>0):
    print('Positive')
elif (a<0) & (b>0):
    print('Zero')
elif (a==0) or(b==0):
    print('Zero')
    
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) & (b>0):
    print('Positive')
elif (a<0) & (b>0):
    print('Zero')
else:
    if a%2==0:
        print('Positive')
    else:
        print('Negative')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if (a < b < 0) or (a == b < 0):
  if (b - a + 1)%2==0:
    print("Positve")
  elif (b - a + 1)%2!=0:
    print("Negative")
elif (0 < a == b) or (0 < a < b) :
  print("Positive")
elif 0 in range(a,b+1):
  print("Zero")

Submission status: Wrong Answer

Solution code:
a,b=(map(int,input().split()))
if 0<a<=b:
    print('Positive')
elif a<=0<=b:
    print('0')
elif a<=b<0:
    x=b-a+1
    if x%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<=0 and b>=0:
    print('0')
elif a<0 and b<0:
    x=b-a+1
    if x%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) or (b<=0 and a>=0):
    print("Zero")
elif a>0 and b>0:
    print("Positive")
else:
    if b-a%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) or (b<=0 and a>=0):
    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())
if (a<=0 and b>=0) or (b<=0 and a>=0):
    print(0)
elif a>0 and b>0:
    print("Positive")
else:
    if b-a%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) or (b<=0 and a>=0):
    print(0)
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())
if (a<=0 and b>=0) or (b<=0 and a>=0):
    print(0)
elif a>0 and 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:
    print('Zero')
elif a>0 and b>0:
  print('Positive')
elif a<0 and b>0:
  print('zero')
elif a<0 and 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>0 and b>0:
  print('Positive')
elif a<=0 and b>=0:
  print('zero')
elif a<0 and b<0:
  if (b-a)%2==0:
    print('Negative')
  else:
    print('Positive')
else:
  print('Zero')

Submission status: Wrong Answer

Solution code:
a,b = map(int, input().split())
mafs = 0 
if a < 1:
  print(0)
else:
  for i in range(a, b+1):
    mafs *= i
    
print(mafs)

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
if a[0] == 0 or a[1] == 0:
    print("Zero")
elif a[0] == abs(a[0]) and a[1] == abs(a[1]):
    print("Positive")
elif a[0] != abs(a[0]) and a[1] != abs(a[1]):
    print("Negative")
elif a[0] != abs(a[0]) or a[1] != abs(a[1]):
    print("Zero")

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
if a[0] == 0 or a[1] == 0:
    print("Zero")
elif a[0] == abs(a[0]) and a[1] == abs(a[1]):
    print("Positive")
elif a[0] != abs(a[0]) and a[1] != abs(a[1]):
    print("Negative")

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
if a[0] != abs(a[0]) and a[1] != abs(a[1]):
    print("Negative")
elif a[0] == abs(a[0]) and a[1] == abs(a[1]):
    print("Positive")
elif a[0] == 0 or a[1] == 0:
    print("Zero")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
p = 1
for n in range(a, b+1):
    p*=n
if p==0:
    print('Zero')
elif p%2==0:
    print('Positive')
else:
    print('Negative')

Submission status: Wrong Answer

Solution code:
a,b = map(int, input().split())
L = []
for i in range (a,b+1):
  L.append(i)
P = 1
for j in L:
  P *= j
if P > 0:
  print('Positive')
elif P == 0:
  print('Zero')
else:
  print('Negetive')

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a>0:
    print("Positive")
elif a<=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 a>0:
    print("Positive")
elif a<=0<=b:
    print(0)
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 a<=0<=b:
    print(0)
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())
ans = 1

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import os
os.read(0, 10**8).split()

Submission status: Wrong Answer

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

def f(a, b):
    if a <= 0 <= b:
        return "Zero"
    elif b < 0 & (b - a) % 2 == 0 > 0:
        return "Negative" 
    else:
        return "Positive"
print(f(a, b))

Submission status: Wrong Answer

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

a_pulus = a >= 0
b_pulus = b >= 0
a_minus = a < 0
b_minus = b < 0

if a_pulus & b_pulus:
    print("Positive")
elif a_minus & b_pulus:
    print("Zero")
else:
    if (b - a + 1) % 2 == 0:
        print("Positibe")
    else:
        print("Negative")

Submission status: Wrong Answer

Solution code:
#

import sys
from copy import deepcopy
input=sys.stdin.readline

def main():
    a,b=map(int,input().split())
    if a*b<=0:
        print("Zero")
    elif a>0:
        print("Positive")
    else:
        pm=(-1)*(b-a+1)
        if pm==1:
            print("Positive")
        else:
            print("Negative")
    
if __name__=="__main__":
    main()

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    b = 1

    if a[0]<= 0 and a[1]>=0:
        b=0
    elif a[1]<0:
        c = abs(b-1)
        if c %2 ==0:
            b=-1


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

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    b = 1

    if a[0]<= 0 and a[1]>=0:
        b=0
    elif b<0:
        c = abs(a-b)+1
        if c %2 ==1:
            b=-1


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

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    b = 1

    if a[0]<= 0 and a[1]>=0:
        b=0
    elif b<0:
        c = abs(a-b)
        if c %2 ==1:
            b=-1


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

Submission status: Wrong Answer

Solution code:
a,b =map(int,input().split())
cnt =b-a+1

if a <0 and b>0 or a==0 or b==0:
    ans = 0
elif (a>0 and b>0) or(a<0 and b<0 and cnt%2==0) :
    ans="Positive"
    
elif(a<0 and b<0 and cnt%2!=0):
    ans="Negative"
    
print(ans)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

#############
# Libraries #
#############

import sys
input = sys.stdin.readline

import math
#from math import gcd
import bisect
from collections import defaultdict
from collections import deque
from collections import Counter
from functools import lru_cache


#############
# Constants #
#############

MOD = 10**9+7
INF = float('inf')

#############
# Functions #
#############

######INPUT######
def I(): return int(input().strip())
def S(): return input().strip()
def IL(): return list(map(int,input().split()))
def SL(): return list(map(str,input().split()))
def ILs(n): return list(int(input()) for _ in range(n))
def SLs(n): return list(input().strip() for _ in range(n))
def ILL(n): return [list(map(int, input().split())) for _ in range(n)]
def SLL(n): return [list(map(str, input().split())) for _ in range(n)]

######OUTPUT######
def P(arg): print(arg); return
def Y(): print("Yes"); return
def N(): print("No"); return
def E(): exit()
def PE(arg): print(arg); exit()
def YE(): print("Yes"); exit()
def NE(): print("No"); exit()

#####Shorten#####
def DD(arg): return defaultdict(arg)


#####Inverse#####
def inv(n): return pow(n, MOD-2, MOD)

######Combination######
kaijo_memo = []
def kaijo(n):
  if(len(kaijo_memo) > n):
    return kaijo_memo[n]
  if(len(kaijo_memo) == 0):
    kaijo_memo.append(1)
  while(len(kaijo_memo) <= n):
    kaijo_memo.append(kaijo_memo[-1] * len(kaijo_memo) % MOD)
  return kaijo_memo[n]

gyaku_kaijo_memo = []
def gyaku_kaijo(n):
  if(len(gyaku_kaijo_memo) > n):
    return gyaku_kaijo_memo[n]
  if(len(gyaku_kaijo_memo) == 0):
    gyaku_kaijo_memo.append(1)
  while(len(gyaku_kaijo_memo) <= n):
    gyaku_kaijo_memo.append(gyaku_kaijo_memo[-1] * pow(len(gyaku_kaijo_memo),MOD-2,MOD) % MOD)
  return gyaku_kaijo_memo[n]

def nCr(n,r):
  if(n == r):
    return 1
  if(n < r or r < 0):
    return 0
  ret = 1
  ret = ret * kaijo(n) % MOD
  ret = ret * gyaku_kaijo(r) % MOD
  ret = ret * gyaku_kaijo(n-r) % MOD
  return ret

######Factorization######
def factorization(n):
  arr = []
  temp = n
  for i in range(2, int(-(-n**0.5//1))+1):
    if temp%i==0:
      cnt=0
      while temp%i==0: 
        cnt+=1 
        temp //= i
      arr.append([i, cnt])
  if temp!=1:
    arr.append([temp, 1])
  if arr==[]:
    arr.append([n, 1])
  return arr

#####MakeDivisors######
def make_divisors(n):
  divisors = []
  for i in range(1, int(n**0.5)+1):
    if n % i == 0:
      divisors.append(i)
      if i != n // i: 
        divisors.append(n//i)
  return divisors

#####MakePrimes######
def make_primes(N):
  max = int(math.sqrt(N))
  seachList = [i for i in range(2,N+1)]
  primeNum = []
  while seachList[0] <= max:
    primeNum.append(seachList[0])
    tmp = seachList[0]
    seachList = [i for i in seachList if i % tmp != 0]
  primeNum.extend(seachList)
  return primeNum

#####GCD#####
def gcd(a, b):
    while b:
        a, b = b, a % b
    return a

#####LCM#####
def lcm(a, b):
    return a * b // gcd (a, b)

#####BitCount#####
def count_bit(n):
  count = 0
  while n:
    n &= n -1
    count += 1
  return count

#####ChangeBase#####
def base_10_to_n(X, n):
  if X//n:
    return base_10_to_n(X//n, n)+[X%n]
  return [X%n]

def base_n_to_10(X, n):
  return sum(int(str(X)[-i-1])*n**i for i in range(len(str(X))))

#####IntLog#####
def int_log(n, a):
  count = 0
  while n>=a:
    n //= a
    count += 1
  return count

#############
# Main Code #
#############
A,B = IL()

if A<=0<=B:
  print("Zero")
  exit()
if 0<A:
  print("Positive")
  exit()
if (B-A)%2:
  print("Negative")
else:
  print("Positive")

Submission status: Wrong Answer

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

if a * b <= 0 : 
  print('zero')
  exit(0)

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

x = b - a + 1
if(x%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')
  exit(0)

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

if((b - a) % 2 == 1) : 
  print('Positive')
else :
  print('Negative')

Submission status: Wrong Answer

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

if a * b < 0 : 
  print('zero')
  exit(0)

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

if(abs(a - b) % 2 == 1) : 
  print('Positive')
else :
  print('Negative')