import math
n=int(input())
z=100000
for i in range(1,n+1):
  z+=z*5/100
  z=(math.ceil(z/1000))*1000
print(z) import math math n=int(input()) n int(input()) int input() input z=100000 z 100000 for i in range(1,n+1):
  z+=z*5/100
  z=(math.ceil(z/1000))*1000 i range(1,n+1) range 1 n+1 n 1 z+=z*5/100 z z*5/100 z*5 z 5 100 z=(math.ceil(z/1000))*1000 z (math.ceil(z/1000))*1000 math.ceil(z/1000) math.ceil math ceil z/1000 z 1000 1000 print(z) print z z=(math.ceil(z/1000))*1000 (math.ceil(z/1000))*1000 z z=100000 100000 z n=int(input()) int(input()) n z+=z*5/100 z*5/100 z
import math
n=int(input())
z=100000
for i in range(1,n+1):
  z+=z*5/100
  z=(math.ceil(z/1000))*1000
print(z)
