N=int(raw_input()) print N+N%2