while 1: try: n = int(input()) dp = [1]*(n+1) for i in range(2, n+1): dp[i] = sum(dp[:i]) print(dp[n]) except: break