N = int(input()) count = 1 cn = 1 for n2 in range(N//2): cn *= (N-2*n2)*(N-2*n2-1)/(n2+1)/(N-n2) count += cn print(int(count))