Problem10474--ABC102 —— A - Multiple of 2 and N

10474: ABC102 —— A - Multiple of 2 and N

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MiB

Description

You are given a positive integer $N$. Find the minimum positive integer divisible by both $2$ and $N$.

Input

Input is given from Standard Input in the following format:

```
$N$
```

Output

Print the minimum positive integer divisible by both $2$ and $N$.

Constraints

-   $1 \leq N \leq 10^9$
-   All values in input are integers.

Sample 1 Input

3

Sample 1 Output

6
6 is divisible by both 2 and 3. Also, there is no positive integer less than 6 that is divisible by both 2 and 3. Thus, the answer is 6.

Sample 2 Input

10

Sample 2 Output

10

Sample 3 Input

999999999

Sample 3 Output

1999999998

Source/Category