Problem Description

Read one integer n. Output two things: last digit of |n| and the sign as NEG, ZERO, or POS.

Input Format

One integer n.

Output Format

One line: lastDigit sign.

Sample Test Case

Input:
-270
Output:
0 NEG

Constraints

-10^18

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next