
week = int(input())
debt = 100000

for i in range(week):
    debt += debt * 0.05
    thousand = int(debt / 1000)
    coin = debt - thousand * 1000
    if 0 < coin:
        thousand += 1 
    debt = thousand * 1000

print(debt) week = int(input()) week int(input()) int input() input debt = 100000 debt 100000 for i in range(week):
    debt += debt * 0.05
    thousand = int(debt / 1000)
    coin = debt - thousand * 1000
    if 0 < coin:
        thousand += 1 
    debt = thousand * 1000 i range(week) range week debt += debt * 0.05 debt debt * 0.05 debt 0.05 thousand = int(debt / 1000) thousand int(debt / 1000) int debt / 1000 debt 1000 coin = debt - thousand * 1000 coin debt - thousand * 1000 debt thousand * 1000 thousand 1000 if 0 < coin:
        thousand += 1 
     0 < coin 0 coin thousand += 1 thousand 1 debt = thousand * 1000 debt thousand * 1000 thousand 1000 print(debt) print debt thousand = int(debt / 1000) int(debt / 1000) thousand debt += debt * 0.05 debt * 0.05 debt debt = 100000 100000 debt thousand += 1 1 thousand week = int(input()) int(input()) week debt = thousand * 1000 thousand * 1000 debt coin = debt - thousand * 1000 debt - thousand * 1000 coin

week = int(input())
debt = 100000

for i in range(week):
    debt += debt * 0.05
    thousand = int(debt / 1000)
    coin = debt - thousand * 1000
    if 0 < coin:
        thousand += 1 
    debt = thousand * 1000

print(debt)