a = 100000
b = 1000
for i in range(input()):
    a *= 1.05
    if a % b > 0:
        a = a - a % b + b
print int(a) a = 100000 a 100000 b = 1000 b 1000 for i in range(input()):
    a *= 1.05
    if a % b > 0:
        a = a - a % b + b i range(input()) range input() input a *= 1.05 a 1.05 if a % b > 0:
        a = a - a % b + b a % b > 0 a % b a b 0 a = a - a % b + b a a - a % b + b a - a % b a a % b a b b print int(a) int a a *= 1.05 1.05 a a = a - a % b + b a - a % b + b a a = 100000 100000 a b = 1000 1000 b
a = 100000
b = 1000
for i in range(input()):
    a *= 1.05
    if a % b > 0:
        a = a - a % b + b
print int(a)