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