m = 100000
for i in range(int(raw_input())):
    m*=1.05
    m=(int((m+999)/1000))*1000

print m m = 100000 m 100000 for i in range(int(raw_input())):
    m*=1.05
    m=(int((m+999)/1000))*1000 i range(int(raw_input())) range int(raw_input()) int raw_input() raw_input m*=1.05 m 1.05 m=(int((m+999)/1000))*1000 m (int((m+999)/1000))*1000 int((m+999)/1000) int (m+999)/1000 m+999 m 999 1000 1000 print m = 100000 100000 m m=(int((m+999)/1000))*1000 (int((m+999)/1000))*1000 m m*=1.05 1.05 m
m = 100000
for i in range(int(raw_input())):
    m*=1.05
    m=(int((m+999)/1000))*1000

print m