'''
Created on Mar 11, 2013

@author: wukc
'''
import math
n=int(raw_input())

p=100000
for i in range(n): p=int(math.ceil(p*1.05/1000)*1000)
print p '''
Created on Mar 11, 2013

@author: wukc
''' import math math n=int(raw_input()) n int(raw_input()) int raw_input() raw_input p=100000 p 100000 for i in range(n): p=int(math.ceil(p*1.05/1000)*1000) i range(n) range n print p=100000 100000 p n=int(raw_input()) int(raw_input()) n
'''
Created on Mar 11, 2013

@author: wukc
'''
import math
n=int(raw_input())

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