import math
n=int(input())

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

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

