Problem Description

Read one integer n. In one move you can add 1 or subtract 1. Output minimum moves needed to make n even.

Input Format

One integer n.

Output Format

One integer moves.

Sample Test Case

Input:
11
Output:
1

Constraints

-10^18

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next