# -*-coding:utf-8
#???????¨????

import math

def main():

    debtTime = int(input())

    ans = int(culcDebt(debtTime))

    print(ans)

def culcDebt(t):
    debt = 100000
    for i in range(t):
        debt = debt * 1.05
        debt = 1000 * math.ceil(debt/1000)

    return debt


if __name__ == '__main__':
    main() import math math def main():

    debtTime = int(input())

    ans = int(culcDebt(debtTime))

    print(ans) main debtTime = int(input()) debtTime int(input()) int input() input ans = int(culcDebt(debtTime)) ans int(culcDebt(debtTime)) int culcDebt(debtTime) culcDebt debtTime print(ans) print ans def culcDebt(t):
    debt = 100000
    for i in range(t):
        debt = debt * 1.05
        debt = 1000 * math.ceil(debt/1000)

    return debt culcDebt debt = 100000 debt 100000 for i in range(t):
        debt = debt * 1.05
        debt = 1000 * math.ceil(debt/1000)

     i range(t) range t debt = debt * 1.05 debt debt * 1.05 debt 1.05 debt = 1000 * math.ceil(debt/1000) debt 1000 * math.ceil(debt/1000) 1000 math.ceil(debt/1000) math.ceil math ceil debt/1000 debt 1000 return debt debt t t if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():

    debtTime = int(input())

    ans = int(culcDebt(debtTime))

    print(ans) def main():

    debtTime = int(input())

    ans = int(culcDebt(debtTime))

    print(ans) main def culcDebt(t):
    debt = 100000
    for i in range(t):
        debt = debt * 1.05
        debt = 1000 * math.ceil(debt/1000)

    return debt def culcDebt(t):
    debt = 100000
    for i in range(t):
        debt = debt * 1.05
        debt = 1000 * math.ceil(debt/1000)

    return debt culcDebt
# -*-coding:utf-8
#???????¨????

import math

def main():

    debtTime = int(input())

    ans = int(culcDebt(debtTime))

    print(ans)

def culcDebt(t):
    debt = 100000
    for i in range(t):
        debt = debt * 1.05
        debt = 1000 * math.ceil(debt/1000)

    return debt


if __name__ == '__main__':
    main()