n = int(input())
f = 100000
if n == 0:
    print(int(f))
else:
    for i in range(n):
        f *= 1.05
        #print(f)
        #F = f - f%1000 + 1000
        if f%1000 != 0:
            f = (f//1000)*1000 + 1000
            #print(i,f)
print(int(f)) n = int(input()) n int(input()) int input() input f = 100000 f 100000 if n == 0:
    print(int(f))
else:
    for i in range(n):
        f *= 1.05
        #print(f)
        #F = f - f%1000 + 1000
        if f%1000 != 0:
            f = (f//1000)*1000 + 1000
            #print(i,f) n == 0 n 0 print(int(f)) print int(f) int f for i in range(n):
        f *= 1.05
        #print(f)
        #F = f - f%1000 + 1000
        if f%1000 != 0:
            f = (f//1000)*1000 + 1000
            #print(i,f) i range(n) range n f *= 1.05 f 1.05 if f%1000 != 0:
            f = (f//1000)*1000 + 1000
            #print(i,f) f%1000 != 0 f%1000 f 1000 0 f = (f//1000)*1000 + 1000 f (f//1000)*1000 + 1000 (f//1000)*1000 f//1000 f 1000 1000 1000 print(int(f)) print int(f) int f n = int(input()) int(input()) n f = 100000 100000 f f *= 1.05 1.05 f f = (f//1000)*1000 + 1000 (f//1000)*1000 + 1000 f
n = int(input())
f = 100000
if n == 0:
    print(int(f))
else:
    for i in range(n):
        f *= 1.05
        #print(f)
        #F = f - f%1000 + 1000
        if f%1000 != 0:
            f = (f//1000)*1000 + 1000
            #print(i,f)
print(int(f))
