14718 - Number Sign and Parity   

Description

給定一個整數 n,請判斷該數字是正數、負數或零,並判斷它是奇數或偶數。

若 n = 0,輸出為 "0",不需要奇偶判斷。

若 n ≠ 0,輸出格式為 "The number is [positive/negative] and [odd/even]"。

Input

輸入一個整數 n:

n

 

Note:

1. -100,000 ≤ n ≤ 100,000

 

Output

如果 n = 0,輸出為0

如果 n ≠ 0,輸出為 The number is [positive/negative] and [odd/even]

 

 

Note:

1. 輸出格式必須完全相符,包含空格、大小寫、標點符號與換行字元(\n)

 

Sample Input  Download

Sample Output  Download

Tags




Discuss