#!/usr/bin/python

num = int(raw_input())
money = 100000

for i in range(num):
    money = int(money * 1.05)
    if money % 1000 == 0:
        continue
    else:
        money = int(money) / 1000 * 1000 + 1000
print money num = int(raw_input()) num int(raw_input()) int raw_input() raw_input money = 100000 money 100000 for i in range(num):
    money = int(money * 1.05)
    if money % 1000 == 0:
        continue
    else:
        money = int(money) / 1000 * 1000 + 1000 i range(num) range num money = int(money * 1.05) money int(money * 1.05) int money * 1.05 money 1.05 if money % 1000 == 0:
        continue
    else:
        money = int(money) / 1000 * 1000 + 1000 money % 1000 == 0 money % 1000 money 1000 0 continue money = int(money) / 1000 * 1000 + 1000 money int(money) / 1000 * 1000 + 1000 int(money) / 1000 * 1000 int(money) / 1000 int(money) int money 1000 1000 1000 print money = int(money) / 1000 * 1000 + 1000 int(money) / 1000 * 1000 + 1000 money money = 100000 100000 money num = int(raw_input()) int(raw_input()) num money = int(money * 1.05) int(money * 1.05) money
#!/usr/bin/python

num = int(raw_input())
money = 100000

for i in range(num):
    money = int(money * 1.05)
    if money % 1000 == 0:
        continue
    else:
        money = int(money) / 1000 * 1000 + 1000
print money