Problem:
 Score : 100 points    Problem Statement You are given a positive integer N .
Find the minimum positive integer divisible by both 2 and N .      Constraints  1 \leq N \leq 10^9  All values in input are integers.         Input Input is given from Standard Input in the following format:  N       Output Print the minimum positive integer divisible by both 2 and N .        Sample Input 1 3      Sample Output 1 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 Input 2 10      Sample Output 2 10       Sample Input 3 999999999      Sample Output 3 1999999998

Solution (Python):
N=int(input())

if N%2==0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(input())
if N % 2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):
n = int(input())
if n % 2 == 0:
    print(n)
else:
    print(n * 2)

Solution (Python):
number = input()
a = int(number)

if a%2 == 0:
    print(a)
else:
    print(2*a)

Solution (Python):
def main():
    N = int(raw_input())

    if N % 2 == 0:
        print N
    else:
        print N+N

main()

Solution (Python):



def main():
    N = int(input().strip())
    print(lcm(N, 2))


def lcm(a, b):
    return a * b // gcd(a, b)


def gcd(a, b):
    while b:
        a, b = b, a % b
    return a


if __name__ == '__main__':
    main()

Solution (Python):
n = int(input())
if n %2==0:
    print(n)
else:
    print(n*2)

Solution (Python):
n = int(input())

if n % 2 == 0:
  print(n)
else:
  print(2*n)

Solution (Python):
n = int(input())

if n % 2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):
n = int(input())
if n%2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):
n = int(input())

print(n if n % 2 == 0 else 2*n)

Solution (Python):
if __name__=="__main__":
  N = int(input())
  print(N if N%2==0 else 2*N)

Solution (Python):
N=int(input())

if N%2==0:
  print(N)
else:
  print(2*N)

Solution (Python):
N = int(input())

if N % 2 == 0 :
    print(N)
else :
    print(2*N)

Solution (Python):
N = int(input())
if N%2 == 0:
    print(N)
else:
    print(2*N)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):


N = int(input())

if N % 2 ==0:
    print(N)
else:
    print(N*2)

Solution (Python):


n = int(raw_input())

if n%2 == 0:
    print n
else:
    print n*2

Solution (Python):
N=int(input())
if N%2==0:
    print(N)
else:
    print(2*N)

Solution (Python):
def solve(n):
    if n % 2 == 1:
        return 2 * n
    return n

if __name__ == "__main__":
    n = int(input())
    print(solve(n))

Solution (Python):
N = int(input())
if N % 2 != 0:
    N = N * 2

print(N)

Solution (Python):
a=int(input())
if(a%2==0):
  print(a)
else:
  print(a*2)

Solution (Python):
n=int(input())
ans = 0

if n == 2:
    ans = 2
elif n%2 == 0:
    ans = n
else:
    ans = n * 2

print(ans)

Solution (Python):
N = int(input())
if N % 2 == 0:
  print(N)
else:
  print(N*2)

Solution (Python):
n = int(input())

if n % 2 == 0:
  print(n)
else:
  print(2*n)

Solution (Python):
x = int(input())
if x % 2 == 0:
	print(x)
else:
	print(x*2)

Solution (Python):
n = int(input())
if n%2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):
n = int(input())
if n%2==0:
    print(n)
else:
    print(2*n)

Solution (Python):
def main():
    n = int(input())
    if n % 2 == 1:
        print(n * 2)
    else:
        print(n)
    
if __name__ == "__main__":
    main()

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N * 2)

Solution (Python):
N = int(input())
if N%2==0:
  print(N)

elif N%2==1:
  print(N*2)

Solution (Python):

if __name__ == "__main__":
    n = int(input())
    if n%2 == 0:
        print(n)
    else:
        print(2*n)

Solution (Python):
N = int(input())

if N == 1:
    print(2)
elif N == 2:
    print(2)
elif N % 2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):
n = int(input())


if n % 2 == 0:
    print(n)
else:
    print(n * 2)

Solution (Python):

N = int(input())

if N%2==0:
    print(N)
else:
    print(2*N)

Solution (Python):
N = int(input())

if N%2==0:
  ans=N
else:
  ans=N*2

print(ans)

Solution (Python):
A = int(input())

if A % 2 == 0:
    print(A)
else:
    print(A*2)

Solution (Python):
n = int(input())

if (n%2==0):
  print(n)
else:
  print(2*n)

Solution (Python):
n = int(input())
if n % 2 != 0:
    n *= 2
print(n)

Solution (Python):
N = int(input())

count = N
while True:
    if count % 2:
        count += N
    else:
        break

print(count)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N * 2)

Solution (Python):

N = int(input())

if N%2 == 0:
    print(N)
else :
    print(2*N)

Solution (Python):
N=int(input())
if N%2: print(N*2)
else: print(N)

Solution (Python):
N = int(input())

if N%2 == 0:
    Ans = N
else:
    Ans = N*2

print(Ans)

Solution (Python):
N = int(input())
if N %2 == 0:
  print(N)
else:
  print(2 * N)

Solution (Python):
n = int(input())
if n % 2 ==0:
    print(n)
else:
    print(n*2)

Solution (Python):
N = int(input())

if N%2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):
n = int(input())
if n % 2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):
n=int(input())
if n%2==0:
    print(n)
else:
    print(2*n)

Solution (Python):
N = int(input())

if N % 2 != 0:
    print(2 * N)
else:
    print(N)

Solution (Python):
N = int(input())
if N % 2 == 0:
    print(N)
else:
    print(2*N)

Solution (Python):
N = int(input())
if N % 2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
    exit()
print(2 * N)

Solution (Python):
N=int(input())
if N<=2:
	print(2)
elif N%2==1:
	print(N*2)
else:
	print(N)

Solution (Python):
n = int(input())
print(n if n % 2 == 0 else 2 * n)

Solution (Python):
n= int(input())

def gcd(a,b):
	if b == 0 :
		return a
	else :
		return gcd(b,a%b)

def lcm(a,b):
	return a*b/gcd(a,b)

print lcm(n,2)

Solution (Python):
inn = int(input())

if inn%2 == 0:
    print(inn)
else:
    print(inn*2)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)

else:
    print(2*N)

Solution (Python):
N = int(input())

if (N % 2 == 0):
    print(N)
else:
    print(2*N)

Solution (Python):
n=int(input())

if n%2==0:
    print(n)
else:
    print(n*2)

Solution (Python):
N=int(input())

if N%2==0:
    print(N)
else:
    print(2*N)

Solution (Python):


N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N *2)

Solution (Python):

def check(n):
    result = n
    if n % 2 == 0:
        result = n
    else:
        result = n * 2
    return result

if __name__ == "__main__":
    n = int(input())
    print(check(n))

Solution (Python):
N = int(input())
if N % 2 == 0:
    print(N)
else :
    print(N*2)

Solution (Python):
n = int(input())

if n % 2 == 0:
  print(n)
else:
  print(2 * n)

Solution (Python):
N=int(input())

if(N%2==0):
	print(N)
else:
	print(N*2)

Solution (Python):


import sys

def main(argv):
    for line in sys.stdin:
        N = int(line.rstrip("\n"))
        if N % 2 == 0:
            print(N)
        else:
            print(2 * N)

if __name__ == "__main__":
    main(sys.argv)

Solution (Python):
if __name__ == '__main__':
    num = int(input())

    if num % 2 == 0:
        print(num)
    else:
        print(num * 2)

Solution (Python):
N = int(input())

print(N if N%2==0 else N*2)

Solution (Python):
N = int(input())
a = N
while True:
    if a % 2 == 0 and a % N == 0:
        print(a)
        break
    a += N

Solution (Python):
n = int(input())
print(n) if n % 2 == 0 else print(2*n)

Solution (Python):
N = int(input())
print(N if N%2 == 0 else 2*N)

Solution (Python):
N = int(input())
if N % 2 == 0:
    print(N)
else:
    print(N * 2)

Solution (Python):
N = int(input())
if N%2==0 :
  print(N)
else :
  print(N*2)

Solution (Python):
s = int(input())

if s % 2 == 0:
    print(s)
else:
    print(s*2)

Solution (Python):
str = input()
n = int(str)

print(n) if (n%2 == 0) else print(n*2)

Solution (Python):
n = int(input())
if n%2:
    n*=2
print(n)

Solution (Python):

n = int(input())
if n % 2 == 0:
    print(n)
else:
    print(n * 2)

Solution (Python):
A=int(input())
if A%2==0:
    print(A)
else:
    print(2*A)

Solution (Python):
n=int(input())

if n%2==0:
    print(n)
else:
    print(n*2)

Solution (Python):
N = int(input())

if N % 2 == 1:
    m = N * 2
else:
    m = N

print(m)

Solution (Python):
N = int(input())
if(N%2 == 0):
	print(N)
else:
	print(N*2)

Solution (Python):


n = int(input())

if n % 2 == 1:
    print(n * 2)
else:
    print(n)

Solution (Python):

"""
Created on Sun Jul  1 20:09:43 2018
ABC102A
@author: maezawa
"""

n = int(input())
if n%2 == 0:
    print(n)
else:
    print(2*n)

Solution (Python):
n = int(input())

if n % 2 == 0:
  print(n)
else:
  print(n*2)

Solution (Python):
n=int(input())

if n%2==0:
    print(n)
else:
    print(2*n)

Solution (Python):
N=int(input())
if N%2==0:
    print(N)
else:
    print(2*N)

Solution (Python):
n = int(input())

if n%2 == 0:
  print(n)
else:
  print(n*2)

Solution (Python):

N = int(input())

if(N % 2 == 0):
    print(N)
else:
    print(N*2)

Solution (Python):
x = int(input())
print(x if x%2==0 else x*2)

Solution (Python):
Num = int(input())

if(Num % 2 == 0):
    print(Num)
else:
    print(Num * 2)

Solution (Python):
n = int(input())
if n % 2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):
N = int(input())
if N%2==0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(input())

if N%2==0:
    print(N)
else:
    print(2*N)

Solution (Python):
A = int(input())

if A % 2 == 0:
    print (A)
else :
    print (A * 2)

Solution (Python):
N=input()
if N%2==0:
	print N
else:
	print N*2

Solution (Python):
def main():
    N = int(input())

    if N % 2 == 0:
        ans = N
    else:
        ans = N * 2

    print(ans)


if __name__ == '__main__':
    main()

Solution (Python):
n = int(input())
if n%2 == 0:
    print(n)
else:
    print(2*n)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N * 2)

Solution (Python):
def main():
    n = int(input())

    if n % 2 == 0:
        print(n)
    else:
        print(n * 2)


if __name__ == '__main__':
    main()

Solution (Python):
n = int(input())
if n % 2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(2*N)

Solution (Python):
n = int(input())
if n%2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):


n = int(input())

if n % 2 == 0:
    print(n)
elif n == 1:
    print(2)
else:
    print(n * 2)

Solution (Python):
from sys import stdin, stdout
input = lambda: stdin.readline().rstrip()
write = stdout.write

def main():
    N = int(input())

    if N % 2:
        print(N * 2)
    else:
        print(N)

main()

Solution (Python):
n = int(input())

if n % 2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):
a=int(input())

if a % 2 == 0:
    print(a)
else:
    print(2*a)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N * 2)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):
n = int(input())

if n % 2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):
n = int(input())
if n%2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):
n = int(input())
print([2*n, n][n%2==0])

Solution (Python):
n = int(input())

if n % 2 == 0:
    print(n)
else:
    print(2*n)

Solution (Python):
n = int(input())

if n % 2 == 0:
    print(n)
else:
    print(2 * n)

Solution (Python):
N = int(input())
ans = 0
if N%2 == 0:
    ans = N
else:
    ans = N * 2
print(ans)

Solution (Python):
n = int(input())

if n%2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):
n = int(input())

if n % 2 == 0 :
    print(n)
else:
    print(n*2)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N * 2)

Solution (Python):
N = int(input())

if N%2 == 0:
    print(2*int(N//2))
else:
    print(2*N)

Solution (Python):
N = int(input())

print(N * 2 if N % 2 != 0 else N)

Solution (Python):


N=int(input())

if(N%2==0):
    print(N)
else:
    print(N*2)

Solution (Python):
n = int(input())

if n % 2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):
N = int(input())
if N % 2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(input())

if N %2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(input())
if N % 2 == 0:
    print(N)
else:
    print(2*N)

Solution (Python):
N = int(input().strip())

if N%2 == 0:
    ans = N
else:
    ans = N*2
print(ans)

Solution (Python):
n=int(input())

if n%2==1:
	print(2*n)
else:
	print(n)

Solution (Python):

A = int(input())


if A % 2 == 0:
    print(A)
else:
    print(2*A)

Solution (Python):
def ketanowa(p):
    ans = 0
    p = str(p)
    for i in p:
        ans += int(i)
    return ans


def main():
    temp = input()
    temp = int(temp)
    if temp%2==0:
        print(temp)
    else:
        print(temp*2)

if __name__ == '__main__':
    main()

Solution (Python):
n = int(input())
if n % 2 == 0:
    print(n)
else:
    print(2 * n)

Solution (Python):
N = int(input())

if N%2 == 0: print(N)
else: print(2*N)

Solution (Python):
N = int(input())

if N%2 == 0: print(N)
else: print(2*N)

Solution (Python):
def main():
    n = int(input())

    if n % 2 == 0:
        print(n)
    else:
        print(2*n)


if __name__ == '__main__':
    main()

Solution (Python):
N = int(input())

if N%2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):




if __name__ == '__main__':
    n = int(input())

    if n % 2 == 0:
        print(n)
    else:
        print(n * 2)

Solution (Python):
N=int(input())

if N%2==0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(input())
print(2*N if N%2 else N)

Solution (Python):
n=int(input())

if n % 2 == 0:
  print(n)
else:
  print(n*2)

Solution (Python):
N = int(input())
print(N*(N%2+1))

Solution (Python):
N = int(input())
if N % 2 == 0:
  print(N)
else:
  print(2 * N)

Solution (Python):
from functools import reduce
from fractions import gcd
N = int(input())
print(N * 2 // gcd(N, 2))

Solution (Python):
N = int(input())
if N % 2 == 0:
    print(N)
else:
    print(N * 2)

Solution (Python):
N = int(input())

if(N % 2 == 0):
    print(N)
else:
    print(N * 2)

Solution (Python):
n = int(input())

if n % 2 == 0:
    print(n)
else:
    print(2 * n)

Solution (Python):
N = int(input())
if N % 2 == 0:
    print(N)
else: print(N * 2)

Solution (Python):
n=int(input())
if n%2==0:
    print(n)
else:
    print(n*2)

Solution (Python):
args = int(input())

if args%2==0:
  print(args)
else:
  print(2*args)

Solution (Python):
n=int(input())
if n%2==0:
    print(n)
else:
    print(2*n)

Solution (Python):
from sys import stdin

def main():
    N = int(stdin.readline().rstrip())
    print(N if N % 2 == 0 else 2 * N)


if __name__ == '__main__':
    main()

Solution (Python):
n = int(input())
res = 2 * n
if n % 2 == 0:
    res = min(res, n)
print(res)

Solution (Python):

N = int(input())
if N%2==0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(input())
if (N%2==0):
  print(N)
else:
  print(2*N)

Solution (Python):
N=int(input())
print(N if N%2==0 else N*2)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(int(N * 2))

Solution (Python):
N = int(input())
if N % 2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):
N=int(input())
if N%2==0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N * 2)

Solution (Python):
N = int(input())
if N % 2==1:
    N *= 2
print(N)

Solution (Python):
n = int(input())

if n % 2 == 1:
    print(n*2)
else:
    print(n)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(input())
if N%2==0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(raw_input())
print N if N%2==0 else N*2

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(2*N)

Solution (Python):
a = int(input())
if a%2 == 0:
    ans = a
else:
    ans = a*2

print(ans)

Solution (Python):
N=int(input())
if N%2==0:
  print(N)
else:
  print(N*2)

Solution (Python):
N = int(input())
if N % 2 == 0:
    print(N)
else:
    print(2 * N)

Solution (Python):
S = int(input())
 
if S%2 == 0:
	print(S)
else:
	print(2*S)

Solution (Python):
N=int(input())
if N%2==0:
    print(N)
else:
    print(N*2)

Solution (Python):
n = int(input())
if n % 2 == 0: print(n)
else: print(2 * n)

Solution (Python):
N = int(input())
if N%2 == 0:
    print(N)
else:
    print(2*N)

Solution (Python):
N = int(input())

if N % 2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(input())

if N % 2 == 0:
  print(N)
else:
  print(N * 2)

Solution (Python):
N=int(input())

if N%2==0:
    print(N)
else:
    print(N*2)

Solution (Python):
n = int(input())
print(n if n % 2 == 0 else n * 2)

Solution (Python):
a=int(input())
if a%2==0:
    print(a)
else:
    print(a*2)

Solution (Python):
n = int(input())
if n%2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):
def main():
    N = int(input())
    if N%2==1:
        return 2*N
    else:
        return N

if __name__ == '__main__':
    print(main())

Solution (Python):
N = int(input())

print(N if N%2==0 else 2*N)

Solution (Python):
n = int(input())

if n % 2 == 0:
    print(n)
else:
    print(n * 2)

Solution (Python):
n=int(input())
if n%2==0:
    print(n)
else:
    print(2*n)

Solution (Python):
n = int(input())

if n % 2 == 0:
    print(n)
else:
    print(n * 2)

Solution (Python):
n = int(input())
if n%2 == 0:
  print(n)
else:
  print(2*n)

Solution (Python):
n=int(input())
if n%2==0:
    print(n)
else:
    print(n*2)

Solution (Python):
n = int(input())
print(2*n if n%2 else n)

Solution (Python):
N = int(input())
print(N if N % 2 == 0 else N * 2)

Solution (Python):
N = int(input())

if N%2 ==0:
  print(N)
else:
  print(N*2)

Solution (Python):
N = int(input())
if N%2 == 0:
    print(N)
else:
    print(N*2)

Solution (Python):
N = int(input())
if N % 2 == 0:
    print(N)
else:
    print(N * 2)

Solution (Python):
a = int(input())
print(a if a%2==0 else a*2)

Solution (Python):
N=int(input())

if N%2==0:
  print(N)
else:
  print(N*2)

Solution (Python):
N=int(input().strip())
print(N if N%2==0 else N*2)

Solution (Python):
n = int(input())
print(n if n % 2 == 0 else n*2)

Solution (Python):
def main():
	N = int(input())
	if N % 2:
		print(2 * N)
	else:
		print(N)
	return 0
main()

Solution (Python):
n = int(input())
if n % 2 == 0:
    print(n)
else:
    print(n*2)

Solution (Python):
n = int(raw_input())
if n % 2 == 0:
  print(n)
else:
  print(n*2)

Solution (Python):


n = int(input())
if n % 2 == 0:
    print(n)
else:
    print(2*n)

Solution (Python):
n = int(input())

if n%2 == 1:
    print(n*2)
else:
    print(n)

Solution (Python):
N = int(input())
if N%2==0:
    print(N)
else:
    print(N*2)

Solution (Python):
N=int(input())
print([N,N*2][N%2])

Solution (Python):
N = int(input().strip())

if N % 2 == 0:
  print(N)
else:
  print(N * 2)

Solution (Python):
n = int(input())
if n %2 == 0:
    ans = n
else:
    ans = n*2
print(ans)

Solution (Python):
n = int(input())
if n%2 == 0:
  print(n)
else:
  print(n * 2)

Solution (Python):
N = int(input())

if N % 2 == 0:
  print(N)
else:
  print(N * 2)