money = 100000
for _ in range(int(input())):
    money += int(money * 0.05)
    if money % 1000 != 0:
        while money % 1000 != 0:
            money += 1
print(money) money = 100000 money 100000 for _ in range(int(input())):
    money += int(money * 0.05)
    if money % 1000 != 0:
        while money % 1000 != 0:
            money += 1 _ range(int(input())) range int(input()) int input() input money += int(money * 0.05) money int(money * 0.05) int money * 0.05 money 0.05 if money % 1000 != 0:
        while money % 1000 != 0:
            money += 1 money % 1000 != 0 money % 1000 money 1000 0 while money % 1000 != 0:
            money += 1 money % 1000 != 0 money % 1000 money 1000 0 money += 1 money 1 print(money) print money money += int(money * 0.05) int(money * 0.05) money money = 100000 100000 money money += 1 1 money
money = 100000
for _ in range(int(input())):
    money += int(money * 0.05)
    if money % 1000 != 0:
        while money % 1000 != 0:
            money += 1
print(money)