n = int(input())
S = 100000

for i in range(n):
    S = int(S*1.05)
    slist = list(str(S))
    if slist[-3:] == ['0','0','0'] :
        S = S
    else:
        S = S  - int(slist[-3])*100 - int(slist[-2])*10 - int(slist[-1])*1 + 1000

print(S) n = int(input()) n int(input()) int input() input S = 100000 S 100000 for i in range(n):
    S = int(S*1.05)
    slist = list(str(S))
    if slist[-3:] == ['0','0','0'] :
        S = S
    else:
        S = S  - int(slist[-3])*100 - int(slist[-2])*10 - int(slist[-1])*1 + 1000 i range(n) range n S = int(S*1.05) S int(S*1.05) int S*1.05 S 1.05 slist = list(str(S)) slist list(str(S)) list str(S) str S if slist[-3:] == ['0','0','0'] :
        S = S
    else:
        S = S  - int(slist[-3])*100 - int(slist[-2])*10 - int(slist[-1])*1 + 1000 slist[-3:] == ['0','0','0'] slist[-3:] slist -3: -3 ['0','0','0'] '0' '0' '0' S = S S S S = S  - int(slist[-3])*100 - int(slist[-2])*10 - int(slist[-1])*1 + 1000 S S  - int(slist[-3])*100 - int(slist[-2])*10 - int(slist[-1])*1 + 1000 S  - int(slist[-3])*100 - int(slist[-2])*10 - int(slist[-1])*1 S  - int(slist[-3])*100 - int(slist[-2])*10 S  - int(slist[-3])*100 S int(slist[-3])*100 int(slist[-3]) int slist[-3] slist -3 100 int(slist[-2])*10 int(slist[-2]) int slist[-2] slist -2 10 int(slist[-1])*1 int(slist[-1]) int slist[-1] slist -1 1 1000 print(S) print S n = int(input()) int(input()) n S = 100000 100000 S slist = list(str(S)) list(str(S)) slist S = S  - int(slist[-3])*100 - int(slist[-2])*10 - int(slist[-1])*1 + 1000 S  - int(slist[-3])*100 - int(slist[-2])*10 - int(slist[-1])*1 + 1000 S S = int(S*1.05) int(S*1.05) S S = S S S
n = int(input())
S = 100000

for i in range(n):
    S = int(S*1.05)
    slist = list(str(S))
    if slist[-3:] == ['0','0','0'] :
        S = S
    else:
        S = S  - int(slist[-3])*100 - int(slist[-2])*10 - int(slist[-1])*1 + 1000

print(S)
