import math
loan = 100000
n = int(input())
for i in range(n):
    interest = math.ceil(loan * 0.05 / 1000) * 1000
    loan += interest
print(loan) import math math loan = 100000 loan 100000 n = int(input()) n int(input()) int input() input for i in range(n):
    interest = math.ceil(loan * 0.05 / 1000) * 1000
    loan += interest i range(n) range n interest = math.ceil(loan * 0.05 / 1000) * 1000 interest 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 loan += interest loan interest print(loan) print loan interest = math.ceil(loan * 0.05 / 1000) * 1000 math.ceil(loan * 0.05 / 1000) * 1000 interest loan = 100000 100000 loan n = int(input()) int(input()) n loan += interest interest loan
import math
loan = 100000
n = int(input())
for i in range(n):
    interest = math.ceil(loan * 0.05 / 1000) * 1000
    loan += interest
print(loan)