import math

def roundup1000(num):
    return math.ceil(num  / 1000) * 1000

debt = 100000
for _ in range(int(input())):
    debt = roundup1000(debt * 1.05)
print(debt) import math math def roundup1000(num):
    return math.ceil(num  / 1000) * 1000 roundup1000 return math.ceil(num  / 1000) * 1000 math.ceil(num  / 1000) * 1000 math.ceil(num  / 1000) math.ceil math ceil num  / 1000 num 1000 1000 num num debt = 100000 debt 100000 for _ in range(int(input())):
    debt = roundup1000(debt * 1.05) _ range(int(input())) range int(input()) int input() input debt = roundup1000(debt * 1.05) debt roundup1000(debt * 1.05) roundup1000 debt * 1.05 debt 1.05 print(debt) print debt debt = roundup1000(debt * 1.05) roundup1000(debt * 1.05) debt def roundup1000(num):
    return math.ceil(num  / 1000) * 1000 def roundup1000(num):
    return math.ceil(num  / 1000) * 1000 roundup1000 debt = 100000 100000 debt
import math

def roundup1000(num):
    return math.ceil(num  / 1000) * 1000

debt = 100000
for _ in range(int(input())):
    debt = roundup1000(debt * 1.05)
print(debt)