a=eval(input());print(a+a%2*a)
n=int(eval(input()))

print((n+n%2*n))
a = eval(input())
print(a + a % 2 * a)

n = int(eval(input()))
print((n + n % 2 * n))

-a = eval(input()) -print(a + a % 2 * a) +n = int(eval(input())) +print((n + n % 2 * n))