from scipy.special import comb n = int(input()) a = n - (n + 1) // 2 + 1 b = (n + 1) // 2 # print(a, b) print(comb(a, b, exact = True))