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