n = input()
d = 100000
for x in range(n):
        d += int(d*0.05)
        d = str(d)
        if d[-3:] != "000":
                d = d[:-3] + "000"
                d = int(d) +1000
        else:
                d = int(d)
print d n = input() n input() input d = 100000 d 100000 for x in range(n):
        d += int(d*0.05)
        d = str(d)
        if d[-3:] != "000":
                d = d[:-3] + "000"
                d = int(d) +1000
        else:
                d = int(d) x range(n) range n d += int(d*0.05) d int(d*0.05) int d*0.05 d 0.05 d = str(d) d str(d) str d if d[-3:] != "000":
                d = d[:-3] + "000"
                d = int(d) +1000
        else:
                d = int(d) d[-3:] != "000" d[-3:] d -3: -3 "000" d = d[:-3] + "000" d d[:-3] + "000" d[:-3] d :-3 -3 "000" d = int(d) +1000 d int(d) +1000 int(d) int d 1000 d = int(d) d int(d) int d print d = int(d) +1000 int(d) +1000 d d += int(d*0.05) int(d*0.05) d d = 100000 100000 d n = input() input() n d = str(d) str(d) d d = d[:-3] + "000" d[:-3] + "000" d d = int(d) int(d) d
n = input()
d = 100000
for x in range(n):
        d += int(d*0.05)
        d = str(d)
        if d[-3:] != "000":
                d = d[:-3] + "000"
                d = int(d) +1000
        else:
                d = int(d)
print d