S=100000
n=int(input())
for i in range(n):
    S*=1.05
    S=int(S)
    if S%1000==0:
        S=S
    else:
        S=S+1000
    S=S//1000
    S=S*1000
print(S) S=100000 S 100000 n=int(input()) n int(input()) int input() input for i in range(n):
    S*=1.05
    S=int(S)
    if S%1000==0:
        S=S
    else:
        S=S+1000
    S=S//1000
    S=S*1000 i range(n) range n S*=1.05 S 1.05 S=int(S) S int(S) int S if S%1000==0:
        S=S
    else:
        S=S+1000
     S%1000==0 S%1000 S 1000 0 S=S S S S=S+1000 S S+1000 S 1000 S=S//1000 S S//1000 S 1000 S=S*1000 S S*1000 S 1000 print(S) print S S=100000 100000 S S=S+1000 S+1000 S S=int(S) int(S) S S*=1.05 1.05 S S=S S S S=S//1000 S//1000 S S=S*1000 S*1000 S n=int(input()) int(input()) n
S=100000
n=int(input())
for i in range(n):
    S*=1.05
    S=int(S)
    if S%1000==0:
        S=S
    else:
        S=S+1000
    S=S//1000
    S=S*1000
print(S)
