a=int(input()) b=int(input()) for i in range(b): a=a*i if a>0: print("Positive\n") elif a<0: print("Negative\n") else: print("Zero\n")