def CA(n): C = 32000 S = C for k in range(2,n+1): C = C*1.05 S = S+C return(S)