Problem2174--判断正负

2174: 判断正负

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 162  Solved: 132
[Status] [Submit] [Creator:]

Description

输入一个整数 a(-1000 ≤ a ≤ 1000),判断 a 是正数还是负数还是零。

Input

一个整数 a(-1000 ≤ a ≤ 1000)。

Output

输出一行字符串。如果 a 是正数,输出 "positive";如果 a 是负数,输出 "negative";如果 a 等于 0,输出 "zero"。

Sample Input Copy

【样例输入1】
123
【样例输出1】
positive
【样例输入2】
-66
【样例输出2】
negative
【样例输入3】
0
【样例输出3】
zero

Source/Category

 python