def main():
    debt = 100000
    n = int(input())
    for i in range(n):
        debt = debt * 1.05
        if debt % 1000 > 0:
            debt = (debt // 1000 * 1000) + 1000
    print(int(debt))

if __name__ == '__main__':
    main() def main():
    debt = 100000
    n = int(input())
    for i in range(n):
        debt = debt * 1.05
        if debt % 1000 > 0:
            debt = (debt // 1000 * 1000) + 1000
    print(int(debt)) main debt = 100000 debt 100000 n = int(input()) n int(input()) int input() input for i in range(n):
        debt = debt * 1.05
        if debt % 1000 > 0:
            debt = (debt // 1000 * 1000) + 1000
     i range(n) range n debt = debt * 1.05 debt debt * 1.05 debt 1.05 if debt % 1000 > 0:
            debt = (debt // 1000 * 1000) + 1000
     debt % 1000 > 0 debt % 1000 debt 1000 0 debt = (debt // 1000 * 1000) + 1000 debt (debt // 1000 * 1000) + 1000 debt // 1000 * 1000 debt // 1000 debt 1000 1000 1000 print(int(debt)) print int(debt) int debt if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    debt = 100000
    n = int(input())
    for i in range(n):
        debt = debt * 1.05
        if debt % 1000 > 0:
            debt = (debt // 1000 * 1000) + 1000
    print(int(debt)) def main():
    debt = 100000
    n = int(input())
    for i in range(n):
        debt = debt * 1.05
        if debt % 1000 > 0:
            debt = (debt // 1000 * 1000) + 1000
    print(int(debt)) main
def main():
    debt = 100000
    n = int(input())
    for i in range(n):
        debt = debt * 1.05
        if debt % 1000 > 0:
            debt = (debt // 1000 * 1000) + 1000
    print(int(debt))

if __name__ == '__main__':
    main()