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