def cap(A,N):
    C = A
    for i in range(1,N+1):
        C = 1.03*C
    return C