# -*- coding: utf-8 -*-

week = int(raw_input())
debt = 100000
for i in range(week):
    debt = debt*1.05
    if debt%1000 != 0:
        debt -= debt%1000
        debt += 1000
print(int(debt)) week = int(raw_input()) week int(raw_input()) int raw_input() raw_input debt = 100000 debt 100000 for i in range(week):
    debt = debt*1.05
    if debt%1000 != 0:
        debt -= debt%1000
        debt += 1000 i range(week) range week debt = debt*1.05 debt debt*1.05 debt 1.05 if debt%1000 != 0:
        debt -= debt%1000
        debt += 1000 debt%1000 != 0 debt%1000 debt 1000 0 debt -= debt%1000 debt debt%1000 debt 1000 debt += 1000 debt 1000 print(int(debt)) print int(debt) int debt debt = 100000 100000 debt week = int(raw_input()) int(raw_input()) week debt = debt*1.05 debt*1.05 debt debt += 1000 1000 debt debt -= debt%1000 debt%1000 debt
# -*- coding: utf-8 -*-

week = int(raw_input())
debt = 100000
for i in range(week):
    debt = debt*1.05
    if debt%1000 != 0:
        debt -= debt%1000
        debt += 1000
print(int(debt))