import math
n = int(input())
print(math.ceil(n/2)*2)