N = int(input()) print(N // 2 * 2)