n = 1
d = 20
while d < 43:
    n = n + 1
    d = 1.05 * d
