n = int(input()) print(n // 2 * 2 + 1)