from collections import * from itertools import * from functools import * from heapq import * import sys,math # input = sys.stdin.readline N = int(input()) for i in range(100): if(N+i)%2: print(N+i) exit()