import math
weeks = int(input())
money = 100000
for i in range(weeks):
    money = money * 1.05
    money = money / 1000
    money = math.ceil(money)
    money = money * 1000
print(money) import math math weeks = int(input()) weeks int(input()) int input() input money = 100000 money 100000 for i in range(weeks):
    money = money * 1.05
    money = money / 1000
    money = math.ceil(money)
    money = money * 1000 i range(weeks) range weeks money = money * 1.05 money money * 1.05 money 1.05 money = money / 1000 money money / 1000 money 1000 money = math.ceil(money) money math.ceil(money) math.ceil math ceil money money = money * 1000 money money * 1000 money 1000 print(money) print money weeks = int(input()) int(input()) weeks money = money / 1000 money / 1000 money money = money * 1.05 money * 1.05 money money = math.ceil(money) math.ceil(money) money money = 100000 100000 money money = money * 1000 money * 1000 money
import math
weeks = int(input())
money = 100000
for i in range(weeks):
    money = money * 1.05
    money = money / 1000
    money = math.ceil(money)
    money = money * 1000
print(money)