def main(): N = int(input()) cnt = 0 for i in range(1<<(N * 2)): bin_num = bin(i)[2:] if bin_num.count('1') != N: continue left = 0 right = 0 flag = True for j in range(N * 2): if (i >> j) & 1: left += 1 else: right += 1 if right > left: flag = False break if flag and right == left: cnt += 1 print(cnt) if __name__ == "__main__": main()