import math

in_week = int(input().rstrip())
tmp_debt = 100000

for i in range(in_week):
    tmp_debt = int(math.ceil( (tmp_debt*1.05)/1000.0 )) * 1000

print(str(tmp_debt)) import math math in_week = int(input().rstrip()) in_week int(input().rstrip()) int input().rstrip() ().rstrip () input rstrip tmp_debt = 100000 tmp_debt 100000 for i in range(in_week):
    tmp_debt = int(math.ceil( (tmp_debt*1.05)/1000.0 )) * 1000 i range(in_week) range in_week tmp_debt = int(math.ceil( (tmp_debt*1.05)/1000.0 )) * 1000 tmp_debt int(math.ceil( (tmp_debt*1.05)/1000.0 )) * 1000 int(math.ceil( (tmp_debt*1.05)/1000.0 )) int math.ceil( (tmp_debt*1.05)/1000.0 ) math.ceil math ceil (tmp_debt*1.05)/1000.0 tmp_debt*1.05 tmp_debt 1.05 1000.0 1000 print(str(tmp_debt)) print str(tmp_debt) str tmp_debt tmp_debt = 100000 100000 tmp_debt tmp_debt = int(math.ceil( (tmp_debt*1.05)/1000.0 )) * 1000 int(math.ceil( (tmp_debt*1.05)/1000.0 )) * 1000 tmp_debt in_week = int(input().rstrip()) int(input().rstrip()) in_week
import math

in_week = int(input().rstrip())
tmp_debt = 100000

for i in range(in_week):
    tmp_debt = int(math.ceil( (tmp_debt*1.05)/1000.0 )) * 1000

print(str(tmp_debt))