N=int(input()) dp=[0]*(N+1) dp[0]=1 for i in range(N+1): if i