import math
n=int( input())
a=100000
for i in range(n):
    
    a+=a*0.05
    a=math.ceil(a/1000)*1000
   
print(math.floor(a)) import math math n=int( input()) n int( input()) int input() input a=100000 a 100000 for i in range(n):
    
    a+=a*0.05
    a=math.ceil(a/1000)*1000
    i range(n) range n a+=a*0.05 a a*0.05 a 0.05 a=math.ceil(a/1000)*1000 a math.ceil(a/1000)*1000 math.ceil(a/1000) math.ceil math ceil a/1000 a 1000 1000 print(math.floor(a)) print math.floor(a) math.floor math floor a n=int( input()) int( input()) n a=math.ceil(a/1000)*1000 math.ceil(a/1000)*1000 a a=100000 100000 a a+=a*0.05 a*0.05 a
import math
n=int( input())
a=100000
for i in range(n):
    
    a+=a*0.05
    a=math.ceil(a/1000)*1000
   
print(math.floor(a))
