@staticmethod
def b():
    n = int(sys.stdin.readline().rstrip())
    print(((n + 1) if (n & 1) else (n - 1)))
@staticmethod
def b():
    n = int(sys.stdin.readline().rstrip())
    print(((n + 1) if (n & 1) else (n - 1)))