s = int(input()) t = int(s%2) print(s+t)