N = input() if N % 2 == 1: print N + 1 else: print N