Positive, Negative or Zero

Lab Python Beginner 10 points

Read an integer and print positive, negative or zero.

Input

One integer.

Output

One word.

Example

Input

5

Output

positive
Sample input available Sample output available
Editor
Python

Hints

Use elif for the second condition.

Solution explanation

elif chains are checked top to bottom; only the first true branch runs.

Show solution
n = int(input())
if n > 0:
    print("positive")
elif n < 0:
    print("negative")
else:
    print("zero")
Output
Answer
HOME LEARN COMMUNITY DASHBOARD