N = int(eval(input()))



def gcd(m, n):

  while n:

    m, n = n, m%n

  return m



def lcm(m, n):

  return int((m * n) / gcd(m, n))



print((lcm(N,2)))
N = int(eval(input()))



def gcd(m, n):

  while n:

    m, n = n, m%n

  return m



def lcm(m, n):

  print((m * n // gcd(m, n)))



lcm(N,2)
N = int(eval(input()))


def gcd(m, n):
    while n:
        m, n = n, m % n
    return m


def lcm(m, n):
    return int((m * n) / gcd(m, n))


print((lcm(N, 2)))

N = int(eval(input()))


def gcd(m, n):
    while n:
        m, n = n, m % n
    return m


def lcm(m, n):
    print((m * n // gcd(m, n)))


lcm(N, 2)

-    return int((m * n) / gcd(m, n)) +    print((m * n // gcd(m, n))) -print((lcm(N, 2))) +lcm(N, 2)