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