# coding: utf-8
#Problem Name: Debt Hell
#ID: tabris
#Mail: t123037@kaiyodai.ac.jp

n = float(raw_input())
dept = 100000
for i in range(int(n)):
    dept *= 1.05
    if not (dept/1000).is_integer():
        dept /= 1000
        dept = __import__('math',fromlist=['floor']).floor(dept)*1000+1000
print int(dept) n = float(raw_input()) n float(raw_input()) float raw_input() raw_input dept = 100000 dept 100000 for i in range(int(n)):
    dept *= 1.05
    if not (dept/1000).is_integer():
        dept /= 1000
        dept = __import__('math',fromlist=['floor']).floor(dept)*1000+1000 i range(int(n)) range int(n) int n dept *= 1.05 dept 1.05 if not (dept/1000).is_integer():
        dept /= 1000
        dept = __import__('math',fromlist=['floor']).floor(dept)*1000+1000 not (dept/1000).is_integer() (dept/1000).is_integer() dept/1000).is_integer dept/1000 dept 1000 is_integer dept /= 1000 dept 1000 dept = __import__('math',fromlist=['floor']).floor(dept)*1000+1000 dept __import__('math',fromlist=['floor']).floor(dept)*1000+1000 __import__('math',fromlist=['floor']).floor(dept)*1000 __import__('math',fromlist=['floor']).floor(dept) ('math',fromlist=['floor']).floor ('math',fromlist=['floor']) __import__ 'math' fromlist=['floor'] fromlist ['floor'] 'floor' floor dept 1000 1000 print int(dept) int dept dept = 100000 100000 dept n = float(raw_input()) float(raw_input()) n dept /= 1000 1000 dept dept = __import__('math',fromlist=['floor']).floor(dept)*1000+1000 __import__('math',fromlist=['floor']).floor(dept)*1000+1000 dept dept *= 1.05 1.05 dept
# coding: utf-8
#Problem Name: Debt Hell
#ID: tabris
#Mail: t123037@kaiyodai.ac.jp

n = float(raw_input())
dept = 100000
for i in range(int(n)):
    dept *= 1.05
    if not (dept/1000).is_integer():
        dept /= 1000
        dept = __import__('math',fromlist=['floor']).floor(dept)*1000+1000
print int(dept)