x = int(input())

n = 100000
while x > 0:
    n *= 1.05
    mod = n % 1000
    if mod:
        n += 1000 - mod
    x -= 1

print(int(n)) x = int(input()) x int(input()) int input() input n = 100000 n 100000 while x > 0:
    n *= 1.05
    mod = n % 1000
    if mod:
        n += 1000 - mod
    x -= 1 x > 0 x 0 n *= 1.05 n 1.05 mod = n % 1000 mod n % 1000 n 1000 if mod:
        n += 1000 - mod
     mod n += 1000 - mod n 1000 - mod 1000 mod x -= 1 x 1 print(int(n)) print int(n) int n n *= 1.05 1.05 n mod = n % 1000 n % 1000 mod x -= 1 1 x n = 100000 100000 n n += 1000 - mod 1000 - mod n x = int(input()) int(input()) x
x = int(input())

n = 100000
while x > 0:
    n *= 1.05
    mod = n % 1000
    if mod:
        n += 1000 - mod
    x -= 1

print(int(n))