from decimal import Decimal

def check(index):
    if index > len(debt_lis)-1:
        for i in range(len(debt_lis)):
            debt_lis[i] = '0'
        debt_lis.append('1')
        return
    if int(debt_lis[index]) + 1 == 10:
        return check(index+1)
    else:
        for i in range(index):
            debt_lis[i] = '0'
        num = int(debt_lis[index]) + 1
        debt_lis[index] = str(num)
        return

input_line = raw_input()
n = int(input_line)

debt = 100000
for i in range(n):
    debt = int((debt * Decimal(1.05))) 
    debt_lis = list(str(debt))
    debt_lis.reverse()
    for char_num in debt_lis[:3]:
        if not int(char_num) == 0:
            check(3)
            break
    debt_lis.reverse()
    debt = int(''.join(debt_lis))
print(debt) from decimal import Decimal def check(index):
    if index > len(debt_lis)-1:
        for i in range(len(debt_lis)):
            debt_lis[i] = '0'
        debt_lis.append('1')
        return
    if int(debt_lis[index]) + 1 == 10:
        return check(index+1)
    else:
        for i in range(index):
            debt_lis[i] = '0'
        num = int(debt_lis[index]) + 1
        debt_lis[index] = str(num)
        return check if index > len(debt_lis)-1:
        for i in range(len(debt_lis)):
            debt_lis[i] = '0'
        debt_lis.append('1')
        return
     index > len(debt_lis)-1 index len(debt_lis)-1 len(debt_lis) len debt_lis 1 for i in range(len(debt_lis)):
            debt_lis[i] = '0'
         i range(len(debt_lis)) range len(debt_lis) len debt_lis debt_lis[i] = '0' debt_lis[i] debt_lis i '0' debt_lis.append('1') debt_lis.append debt_lis append '1' return if int(debt_lis[index]) + 1 == 10:
        return check(index+1)
    else:
        for i in range(index):
            debt_lis[i] = '0'
        num = int(debt_lis[index]) + 1
        debt_lis[index] = str(num)
        return int(debt_lis[index]) + 1 == 10 int(debt_lis[index]) + 1 int(debt_lis[index]) int debt_lis[index] debt_lis index 1 10 return check(index+1) check(index+1) check index+1 index 1 for i in range(index):
            debt_lis[i] = '0'
         i range(index) range index debt_lis[i] = '0' debt_lis[i] debt_lis i '0' num = int(debt_lis[index]) + 1 num int(debt_lis[index]) + 1 int(debt_lis[index]) int debt_lis[index] debt_lis index 1 debt_lis[index] = str(num) debt_lis[index] debt_lis index str(num) str num return index index input_line = raw_input() input_line raw_input() raw_input n = int(input_line) n int(input_line) int input_line debt = 100000 debt 100000 for i in range(n):
    debt = int((debt * Decimal(1.05))) 
    debt_lis = list(str(debt))
    debt_lis.reverse()
    for char_num in debt_lis[:3]:
        if not int(char_num) == 0:
            check(3)
            break
    debt_lis.reverse()
    debt = int(''.join(debt_lis)) i range(n) range n debt = int((debt * Decimal(1.05))) debt int((debt * Decimal(1.05))) int debt * Decimal(1.05) debt Decimal(1.05) Decimal 1.05 debt_lis = list(str(debt)) debt_lis list(str(debt)) list str(debt) str debt debt_lis.reverse() debt_lis.reverse debt_lis reverse for char_num in debt_lis[:3]:
        if not int(char_num) == 0:
            check(3)
            break
     char_num debt_lis[:3] debt_lis :3 3 if not int(char_num) == 0:
            check(3)
            break
     not int(char_num) == 0 int(char_num) == 0 int(char_num) int char_num 0 check(3) check 3 break debt_lis.reverse() debt_lis.reverse debt_lis reverse debt = int(''.join(debt_lis)) debt int(''.join(debt_lis)) int ''.join(debt_lis) ''.join '' join debt_lis print(debt) print debt debt = int((debt * Decimal(1.05))) int((debt * Decimal(1.05))) debt debt = int(''.join(debt_lis)) int(''.join(debt_lis)) debt n = int(input_line) int(input_line) n debt = 100000 100000 debt debt_lis = list(str(debt)) list(str(debt)) debt_lis def check(index):
    if index > len(debt_lis)-1:
        for i in range(len(debt_lis)):
            debt_lis[i] = '0'
        debt_lis.append('1')
        return
    if int(debt_lis[index]) + 1 == 10:
        return check(index+1)
    else:
        for i in range(index):
            debt_lis[i] = '0'
        num = int(debt_lis[index]) + 1
        debt_lis[index] = str(num)
        return def check(index):
    if index > len(debt_lis)-1:
        for i in range(len(debt_lis)):
            debt_lis[i] = '0'
        debt_lis.append('1')
        return
    if int(debt_lis[index]) + 1 == 10:
        return check(index+1)
    else:
        for i in range(index):
            debt_lis[i] = '0'
        num = int(debt_lis[index]) + 1
        debt_lis[index] = str(num)
        return check input_line = raw_input() raw_input() input_line
from decimal import Decimal

def check(index):
    if index > len(debt_lis)-1:
        for i in range(len(debt_lis)):
            debt_lis[i] = '0'
        debt_lis.append('1')
        return
    if int(debt_lis[index]) + 1 == 10:
        return check(index+1)
    else:
        for i in range(index):
            debt_lis[i] = '0'
        num = int(debt_lis[index]) + 1
        debt_lis[index] = str(num)
        return

input_line = raw_input()
n = int(input_line)

debt = 100000
for i in range(n):
    debt = int((debt * Decimal(1.05))) 
    debt_lis = list(str(debt))
    debt_lis.reverse()
    for char_num in debt_lis[:3]:
        if not int(char_num) == 0:
            check(3)
            break
    debt_lis.reverse()
    debt = int(''.join(debt_lis))
print(debt)