import math
loan = 100000
n = int(input())
for i in range(n):
    loan += math.ceil(loan * 0.05 / 1000) * 1000
print(loan) import math math loan = 100000 loan 100000 n = int(input()) n int(input()) int input() input for i in range(n):
    loan += math.ceil(loan * 0.05 / 1000) * 1000 i range(n) range n loan += math.ceil(loan * 0.05 / 1000) * 1000 loan math.ceil(loan * 0.05 / 1000) * 1000 math.ceil(loan * 0.05 / 1000) math.ceil math ceil loan * 0.05 / 1000 loan * 0.05 loan 0.05 1000 1000 print(loan) print loan loan += math.ceil(loan * 0.05 / 1000) * 1000 math.ceil(loan * 0.05 / 1000) * 1000 loan loan = 100000 100000 loan n = int(input()) int(input()) n
import math
loan = 100000
n = int(input())
for i in range(n):
    loan += math.ceil(loan * 0.05 / 1000) * 1000
print(loan)