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