#-------------------------------------------------------------------------------
# Name:        module5
# Purpose:
#
# Author:      student
#
# Created:     04/02/2018
# Copyright:   (c) student 2018
# Licence:     <your licence>
#-------------------------------------------------------------------------------

a=input()
if a>0 and a<100000:
     print("positive number")
elif a<0:
        print("negative number")
elif a==0:
       print("zero")
else:
           print("invalid num")