def cap2(A): C = A I = 0 while C<2*A: C = 1.03*C I = I+1 return I