import math

n = input()
money = 100000

for i in range(0, n):
    money = money*1.05
    money /= 1000
    money = int(math.ceil(money)*1000)

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

n = input()
money = 100000

for i in range(0, n):
    money = money*1.05
    money /= 1000
    money = int(math.ceil(money)*1000)

print money