n = input()
money = 100000
for i in range(n):
    money = int(money * 1.05)
    if money != money / 1000 * 1000:
        money = money / 1000 * 1000 + 1000
print money n = input() n input() input money = 100000 money 100000 for i in range(n):
    money = int(money * 1.05)
    if money != money / 1000 * 1000:
        money = money / 1000 * 1000 + 1000 i range(n) range n money = int(money * 1.05) money int(money * 1.05) int money * 1.05 money 1.05 if money != money / 1000 * 1000:
        money = money / 1000 * 1000 + 1000 money != money / 1000 * 1000 money money / 1000 * 1000 money / 1000 money 1000 1000 money = money / 1000 * 1000 + 1000 money money / 1000 * 1000 + 1000 money / 1000 * 1000 money / 1000 money 1000 1000 1000 print money = int(money * 1.05) int(money * 1.05) money money = money / 1000 * 1000 + 1000 money / 1000 * 1000 + 1000 money money = 100000 100000 money n = input() input() n
n = input()
money = 100000
for i in range(n):
    money = int(money * 1.05)
    if money != money / 1000 * 1000:
        money = money / 1000 * 1000 + 1000
print money