n , d = input() , 100000
for x in range(n):
        d += int(d*0.05)
        if d % 1000 != 0:
                d -= d % 1000
                d += 1000
print d n , d = input() , 100000 n input() input d 100000 for x in range(n):
        d += int(d*0.05)
        if d % 1000 != 0:
                d -= d % 1000
                d += 1000 x range(n) range n d += int(d*0.05) d int(d*0.05) int d*0.05 d 0.05 if d % 1000 != 0:
                d -= d % 1000
                d += 1000 d % 1000 != 0 d % 1000 d 1000 0 d -= d % 1000 d d % 1000 d 1000 d += 1000 d 1000 print d -= d % 1000 d % 1000 d d += 1000 1000 d d = input() , 100000 100000 d d += int(d*0.05) int(d*0.05) d n , d = input() , 100000 input() n
n , d = input() , 100000
for x in range(n):
        d += int(d*0.05)
        if d % 1000 != 0:
                d -= d % 1000
                d += 1000
print d