n = int(raw_input())
total = 100000
for i in range(1,n+1):
    total = total*1.05
    if total%1000!=0:
        total = int(total-total%1000 + 1000)
    else:
        total = int(total)
print total n = int(raw_input()) n int(raw_input()) int raw_input() raw_input total = 100000 total 100000 for i in range(1,n+1):
    total = total*1.05
    if total%1000!=0:
        total = int(total-total%1000 + 1000)
    else:
        total = int(total) i range(1,n+1) range 1 n+1 n 1 total = total*1.05 total total*1.05 total 1.05 if total%1000!=0:
        total = int(total-total%1000 + 1000)
    else:
        total = int(total) total%1000!=0 total%1000 total 1000 0 total = int(total-total%1000 + 1000) total int(total-total%1000 + 1000) int total-total%1000 + 1000 total-total%1000 total total%1000 total 1000 1000 total = int(total) total int(total) int total print total = total*1.05 total*1.05 total total = int(total-total%1000 + 1000) int(total-total%1000 + 1000) total total = 100000 100000 total total = int(total) int(total) total n = int(raw_input()) int(raw_input()) n
n = int(raw_input())
total = 100000
for i in range(1,n+1):
    total = total*1.05
    if total%1000!=0:
        total = int(total-total%1000 + 1000)
    else:
        total = int(total)
print total