100 atcoder#ABC102A. [ABC102A] Multiple of 2 and N

[ABC102A] Multiple of 2 and N

Score : 100100 points

Problem Statement

You are given a positive integer NN. Find the minimum positive integer divisible by both 22 and NN.

Constraints

  • 1N1091 \leq N \leq 10^9
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

NN

Output

Print the minimum positive integer divisible by both 22 and NN.

3
6

66 is divisible by both 22 and 33. Also, there is no positive integer less than 66 that is divisible by both 22 and 33. Thus, the answer is 66.

10
10
999999999
1999999998