import sys
from decimal import Decimal

def main():
    n = int(sys.stdin.readline().strip())
    money = Decimal('100000')
    rate = Decimal('1.05')
    
    for _ in range(n):
        money *= rate
        if money % 1000:
            money = money // 1000 * 1000 + 1000

    print(money)
    
if __name__ == '__main__':
    main() import sys sys from decimal import Decimal def main():
    n = int(sys.stdin.readline().strip())
    money = Decimal('100000')
    rate = Decimal('1.05')
    
    for _ in range(n):
        money *= rate
        if money % 1000:
            money = money // 1000 * 1000 + 1000

    print(money)
     main n = int(sys.stdin.readline().strip()) n int(sys.stdin.readline().strip()) int sys.stdin.readline().strip() sys.stdin.readline().strip sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline strip money = Decimal('100000') money Decimal('100000') Decimal '100000' rate = Decimal('1.05') rate Decimal('1.05') Decimal '1.05' for _ in range(n):
        money *= rate
        if money % 1000:
            money = money // 1000 * 1000 + 1000

     _ range(n) range n money *= rate money rate if money % 1000:
            money = money // 1000 * 1000 + 1000

     money % 1000 money 1000 money = money // 1000 * 1000 + 1000 money money // 1000 * 1000 + 1000 money // 1000 * 1000 money // 1000 money 1000 1000 1000 print(money) print money if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    n = int(sys.stdin.readline().strip())
    money = Decimal('100000')
    rate = Decimal('1.05')
    
    for _ in range(n):
        money *= rate
        if money % 1000:
            money = money // 1000 * 1000 + 1000

    print(money)
     def main():
    n = int(sys.stdin.readline().strip())
    money = Decimal('100000')
    rate = Decimal('1.05')
    
    for _ in range(n):
        money *= rate
        if money % 1000:
            money = money // 1000 * 1000 + 1000

    print(money)
     main
import sys
from decimal import Decimal

def main():
    n = int(sys.stdin.readline().strip())
    money = Decimal('100000')
    rate = Decimal('1.05')
    
    for _ in range(n):
        money *= rate
        if money % 1000:
            money = money // 1000 * 1000 + 1000

    print(money)
    
if __name__ == '__main__':
    main()