# coding:utf-8
import math
debt = 100000

for _ in range(int(input())):
    debt *= 1.05
    debt = math.ceil(debt / 1000) * 1000

print(debt)
 import math math debt = 100000 debt 100000 for _ in range(int(input())):
    debt *= 1.05
    debt = math.ceil(debt / 1000) * 1000 _ range(int(input())) range int(input()) int input() input debt *= 1.05 debt 1.05 debt = math.ceil(debt / 1000) * 1000 debt math.ceil(debt / 1000) * 1000 math.ceil(debt / 1000) math.ceil math ceil debt / 1000 debt 1000 1000 print(debt) print debt debt = math.ceil(debt / 1000) * 1000 math.ceil(debt / 1000) * 1000 debt debt = 100000 100000 debt debt *= 1.05 1.05 debt
# coding:utf-8
import math
debt = 100000

for _ in range(int(input())):
    debt *= 1.05
    debt = math.ceil(debt / 1000) * 1000

print(debt)

