i = int(input()) if i % 2 == 0: print(i) else: print(i + 1)