n=int(raw_input())
g,r=100000,1.05
for i in range(n):
    g*=r
    if int(g)%1000>0:
        g=(int(g)/1000)*1000+1000
print g n=int(raw_input()) n int(raw_input()) int raw_input() raw_input g,r=100000,1.05 g 100000 r 1.05 for i in range(n):
    g*=r
    if int(g)%1000>0:
        g=(int(g)/1000)*1000+1000 i range(n) range n g*=r g r if int(g)%1000>0:
        g=(int(g)/1000)*1000+1000 int(g)%1000>0 int(g)%1000 int(g) int g 1000 0 g=(int(g)/1000)*1000+1000 g (int(g)/1000)*1000+1000 (int(g)/1000)*1000 int(g)/1000 int(g) int g 1000 1000 1000 print n=int(raw_input()) int(raw_input()) n g*=r r g g=(int(g)/1000)*1000+1000 (int(g)/1000)*1000+1000 g r=100000,1.05 1.05 r g,r=100000,1.05 100000 g
n=int(raw_input())
g,r=100000,1.05
for i in range(n):
    g*=r
    if int(g)%1000>0:
        g=(int(g)/1000)*1000+1000
print g