import sys
import math

n = int(input())
debt = 100000
for i in range(1,n+1):
	debt = math.ceil((debt*1.05)/1000)*1000
print(debt) import sys sys import math math n = int(input()) n int(input()) int input() input debt = 100000 debt 100000 for i in range(1,n+1):
	debt = math.ceil((debt*1.05)/1000)*1000 i range(1,n+1) range 1 n+1 n 1 debt = math.ceil((debt*1.05)/1000)*1000 debt math.ceil((debt*1.05)/1000)*1000 math.ceil((debt*1.05)/1000) math.ceil math ceil (debt*1.05)/1000 debt*1.05 debt 1.05 1000 1000 print(debt) print debt n = int(input()) int(input()) n debt = 100000 100000 debt debt = math.ceil((debt*1.05)/1000)*1000 math.ceil((debt*1.05)/1000)*1000 debt
import sys
import math

n = int(input())
debt = 100000
for i in range(1,n+1):
	debt = math.ceil((debt*1.05)/1000)*1000
print(debt)