
import math
import sys


def debt(debt_s, week):
    if week == 0:
        return debt_s
    debt_s = int(math.ceil((debt_s * 1.05)/1000) * 1000)
    return debt(debt_s, week - 1)


n = int(sys.stdin.readline())

debt_s = 100000
print debt(debt_s, n) import math math import sys sys def debt(debt_s, week):
    if week == 0:
        return debt_s
    debt_s = int(math.ceil((debt_s * 1.05)/1000) * 1000)
    return debt(debt_s, week - 1) debt if week == 0:
        return debt_s
     week == 0 week 0 return debt_s debt_s debt_s = int(math.ceil((debt_s * 1.05)/1000) * 1000) debt_s int(math.ceil((debt_s * 1.05)/1000) * 1000) int math.ceil((debt_s * 1.05)/1000) * 1000 math.ceil((debt_s * 1.05)/1000) math.ceil math ceil (debt_s * 1.05)/1000 debt_s * 1.05 debt_s 1.05 1000 1000 return debt(debt_s, week - 1) debt(debt_s, week - 1) debt debt_s week - 1 week 1 debt_s debt_s week week n = int(sys.stdin.readline()) n int(sys.stdin.readline()) int sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline debt_s = 100000 debt_s 100000 print debt(debt_s, n) debt debt_s n def debt(debt_s, week):
    if week == 0:
        return debt_s
    debt_s = int(math.ceil((debt_s * 1.05)/1000) * 1000)
    return debt(debt_s, week - 1) def debt(debt_s, week):
    if week == 0:
        return debt_s
    debt_s = int(math.ceil((debt_s * 1.05)/1000) * 1000)
    return debt(debt_s, week - 1) debt n = int(sys.stdin.readline()) int(sys.stdin.readline()) n debt_s = 100000 100000 debt_s

import math
import sys


def debt(debt_s, week):
    if week == 0:
        return debt_s
    debt_s = int(math.ceil((debt_s * 1.05)/1000) * 1000)
    return debt(debt_s, week - 1)


n = int(sys.stdin.readline())

debt_s = 100000
print debt(debt_s, n)