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