n = input()
a = 100000
for i in range(1,int(n)+1):
    a = int(a*1.05)
    if(a%1000 > 0):
        a = 1000*int(a/1000) + 1000

print(a) n = input() n input() input a = 100000 a 100000 for i in range(1,int(n)+1):
    a = int(a*1.05)
    if(a%1000 > 0):
        a = 1000*int(a/1000) + 1000 i range(1,int(n)+1) range 1 int(n)+1 int(n) int n 1 a = int(a*1.05) a int(a*1.05) int a*1.05 a 1.05 if(a%1000 > 0):
        a = 1000*int(a/1000) + 1000 a%1000 > 0 a%1000 a 1000 0 a = 1000*int(a/1000) + 1000 a 1000*int(a/1000) + 1000 1000*int(a/1000) 1000 int(a/1000) int a/1000 a 1000 1000 print(a) print a a = 1000*int(a/1000) + 1000 1000*int(a/1000) + 1000 a a = 100000 100000 a n = input() input() n a = int(a*1.05) int(a*1.05) a
n = input()
a = 100000
for i in range(1,int(n)+1):
    a = int(a*1.05)
    if(a%1000 > 0):
        a = 1000*int(a/1000) + 1000

print(a)