def ceil(src, range):
    k = src / 1000
    if k == int(k):
        return int(src)
    else:
        return ((int)(src / range) + 1 ) * range

debt = 100000
for x in range (0, int(input())):
    debt = ceil(debt * 1.05, 1000)
    
print(int(debt)) def ceil(src, range):
    k = src / 1000
    if k == int(k):
        return int(src)
    else:
        return ((int)(src / range) + 1 ) * range ceil k = src / 1000 k src / 1000 src 1000 if k == int(k):
        return int(src)
    else:
        return ((int)(src / range) + 1 ) * range k == int(k) k int(k) int k return int(src) int(src) int src return ((int)(src / range) + 1 ) * range ((int)(src / range) + 1 ) * range (int)(src / range) + 1 (int)(src / range) int src / range src range 1 range src src range range debt = 100000 debt 100000 for x in range (0, int(input())):
    debt = ceil(debt * 1.05, 1000)
     x range (0, int(input())) range 0 int(input()) int input() input debt = ceil(debt * 1.05, 1000) debt ceil(debt * 1.05, 1000) ceil debt * 1.05 debt 1.05 1000 print(int(debt)) print int(debt) int debt def ceil(src, range):
    k = src / 1000
    if k == int(k):
        return int(src)
    else:
        return ((int)(src / range) + 1 ) * range def ceil(src, range):
    k = src / 1000
    if k == int(k):
        return int(src)
    else:
        return ((int)(src / range) + 1 ) * range ceil debt = ceil(debt * 1.05, 1000) ceil(debt * 1.05, 1000) debt debt = 100000 100000 debt
def ceil(src, range):
    k = src / 1000
    if k == int(k):
        return int(src)
    else:
        return ((int)(src / range) + 1 ) * range

debt = 100000
for x in range (0, int(input())):
    debt = ceil(debt * 1.05, 1000)
    
print(int(debt))