v = 100000
for _ in [0]*int(input()):
    v *= 1.05
    v += 1000 * (v%1000 > 0)
    v -= v%1000
print(int(v)) v = 100000 v 100000 for _ in [0]*int(input()):
    v *= 1.05
    v += 1000 * (v%1000 > 0)
    v -= v%1000 _ [0]*int(input()) [0] 0 int(input()) int input() input v *= 1.05 v 1.05 v += 1000 * (v%1000 > 0) v 1000 * (v%1000 > 0) 1000 v%1000 > 0 v%1000 v 1000 0 v -= v%1000 v v%1000 v 1000 print(int(v)) print int(v) int v v = 100000 100000 v v -= v%1000 v%1000 v v += 1000 * (v%1000 > 0) 1000 * (v%1000 > 0) v v *= 1.05 1.05 v
v = 100000
for _ in [0]*int(input()):
    v *= 1.05
    v += 1000 * (v%1000 > 0)
    v -= v%1000
print(int(v))