Problem list
Log in
#r03235 · Online Judge > GoldOJ

Sign of a Number

Bronze IV 2.0 s 256 MB

Given $N$, print positive if $N > 0$, negative if $N < 0$, otherwise zero.

Input

One integer $N$ ($-5000 \le N \le 5000$).

Output

Print positive, negative, or zero.

Example 1

Input
10
Output
positive

Example 2

Input
-7
Output
negative

Example 3

Input
0
Output
zero
Source
Online Judge > GoldOJ
Appears in
Not part of a ladder, contest or set yet.
Accepted 0 Submissions 0 Acceptance 0% Solvers 0

Discussion

Threads about this problem. Spoilers are collapsed; wrap hints in ||double bars||.

No discussion yet. Start a thread if something here needs explaining.

Recent submissions Open with filters
Code