import sys
import math

n = (int)(input())
money = 100000.0

for i in range(n):
    money = math.ceil(money * 1.05 / 1000) * 1000
print((int)(money)) import sys sys import math math n = (int)(input()) n (int)(input()) int input() input money = 100000.0 money 100000.0 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((int)(money)) print (int)(money) int money money = math.ceil(money * 1.05 / 1000) * 1000 math.ceil(money * 1.05 / 1000) * 1000 money n = (int)(input()) (int)(input()) n money = 100000.0 100000.0 money
import sys
import math

n = (int)(input())
money = 100000.0

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