N = int(input()) if N&1: N += 1 print(N)