import math

n=input()
money = 100000
for i in range(n):
    money = math.ceil(money * 1.05/1000)*1000
print "%d" %(money) import math math n=input() n input() input money = 100000 money 100000 for i in range(n):
    money = math.ceil(money * 1.05/1000)*1000 i range(n) range n money = math.ceil(money * 1.05/1000)*1000 money math.ceil(money * 1.05/1000)*1000 math.ceil(money * 1.05/1000) math.ceil math ceil money * 1.05/1000 money * 1.05 money 1.05 1000 1000 print "%d" %(money) "%d" money money = math.ceil(money * 1.05/1000)*1000 math.ceil(money * 1.05/1000)*1000 money money = 100000 100000 money n=input() input() n
import math

n=input()
money = 100000
for i in range(n):
    money = math.ceil(money * 1.05/1000)*1000
print "%d" %(money)