from math import floor
n = int(input())

def debt(week):
    debt = 100000
    for i in range(1,n+1):
        debt *= 1.05
        amari = debt % 1000
        if amari:
            debt += 1000 - amari
    return int(debt)

print(debt(n)) from math import floor n = int(input()) n int(input()) int input() input def debt(week):
    debt = 100000
    for i in range(1,n+1):
        debt *= 1.05
        amari = debt % 1000
        if amari:
            debt += 1000 - amari
    return int(debt) debt debt = 100000 debt 100000 for i in range(1,n+1):
        debt *= 1.05
        amari = debt % 1000
        if amari:
            debt += 1000 - amari
     i range(1,n+1) range 1 n+1 n 1 debt *= 1.05 debt 1.05 amari = debt % 1000 amari debt % 1000 debt 1000 if amari:
            debt += 1000 - amari
     amari debt += 1000 - amari debt 1000 - amari 1000 amari return int(debt) int(debt) int debt week week print(debt(n)) print debt(n) debt n def debt(week):
    debt = 100000
    for i in range(1,n+1):
        debt *= 1.05
        amari = debt % 1000
        if amari:
            debt += 1000 - amari
    return int(debt) def debt(week):
    debt = 100000
    for i in range(1,n+1):
        debt *= 1.05
        amari = debt % 1000
        if amari:
            debt += 1000 - amari
    return int(debt) debt n = int(input()) int(input()) n
from math import floor
n = int(input())

def debt(week):
    debt = 100000
    for i in range(1,n+1):
        debt *= 1.05
        amari = debt % 1000
        if amari:
            debt += 1000 - amari
    return int(debt)

print(debt(n))