import sys
n=int(sys.stdin.readline())
money=100000
for i in range(n):
    money*=1.05
    money=int(money)
    mod = money%1000
    money=money//1000
    if mod>0:
        money+=1
    money=money*1000
print (money) import sys sys n=int(sys.stdin.readline()) n int(sys.stdin.readline()) int sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline money=100000 money 100000 for i in range(n):
    money*=1.05
    money=int(money)
    mod = money%1000
    money=money//1000
    if mod>0:
        money+=1
    money=money*1000 i range(n) range n money*=1.05 money 1.05 money=int(money) money int(money) int money mod = money%1000 mod money%1000 money 1000 money=money//1000 money money//1000 money 1000 if mod>0:
        money+=1
     mod>0 mod 0 money+=1 money 1 money=money*1000 money money*1000 money 1000 print (money) print money mod = money%1000 money%1000 mod money*=1.05 1.05 money money=money*1000 money*1000 money money+=1 1 money money=100000 100000 money n=int(sys.stdin.readline()) int(sys.stdin.readline()) n money=int(money) int(money) money money=money//1000 money//1000 money
import sys
n=int(sys.stdin.readline())
money=100000
for i in range(n):
    money*=1.05
    money=int(money)
    mod = money%1000
    money=money//1000
    if mod>0:
        money+=1
    money=money*1000
print (money)