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

904f79ce50793c33940e3066beabd127f04473b0
<mask token>

<mask token>
for i in range(n):
    money = ceil(money * 1.05 / 1000) * 1000
print(money)

<mask token>
n = int(input())
money = 100000
for i in range(n):
    money = ceil(money * 1.05 / 1000) * 1000
print(money)

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