N = int(input()) N -= N % 2 print(N)