import math
n = int(input())
money = 10**5
for i in range(n):
    money *= 1.05
    money_c = math.ceil(money * 0.001)
    money = money_c * 1000
print(money) import math math n = int(input()) n int(input()) int input() input money = 10**5 money 10**5 10 5 for i in range(n):
    money *= 1.05
    money_c = math.ceil(money * 0.001)
    money = money_c * 1000 i range(n) range n money *= 1.05 money 1.05 money_c = math.ceil(money * 0.001) money_c math.ceil(money * 0.001) math.ceil math ceil money * 0.001 money 0.001 money = money_c * 1000 money money_c * 1000 money_c 1000 print(money) print money money *= 1.05 1.05 money money = money_c * 1000 money_c * 1000 money money_c = math.ceil(money * 0.001) math.ceil(money * 0.001) money_c n = int(input()) int(input()) n money = 10**5 10**5 money
import math
n = int(input())
money = 10**5
for i in range(n):
    money *= 1.05
    money_c = math.ceil(money * 0.001)
    money = money_c * 1000
print(money)