from math import ceil
debt = 100000
n = int(input())
for _ in range(n):
    tmp = ceil(debt*1.05)
    debt = ceil((tmp/1000))*1000
print(debt) from math import ceil debt = 100000 debt 100000 n = int(input()) n int(input()) int input() input for _ in range(n):
    tmp = ceil(debt*1.05)
    debt = ceil((tmp/1000))*1000 _ range(n) range n tmp = ceil(debt*1.05) tmp ceil(debt*1.05) ceil debt*1.05 debt 1.05 debt = ceil((tmp/1000))*1000 debt ceil((tmp/1000))*1000 ceil((tmp/1000)) ceil tmp/1000 tmp 1000 1000 print(debt) print debt tmp = ceil(debt*1.05) ceil(debt*1.05) tmp n = int(input()) int(input()) n debt = ceil((tmp/1000))*1000 ceil((tmp/1000))*1000 debt debt = 100000 100000 debt
from math import ceil
debt = 100000
n = int(input())
for _ in range(n):
    tmp = ceil(debt*1.05)
    debt = ceil((tmp/1000))*1000
print(debt)