n = 100000
for i in range(int(input())):
    n *= 1.05;
    if n % 1000:
        n += 1000
    n = int(n / 1000) * 1000
print(n) n = 100000 n 100000 for i in range(int(input())):
    n *= 1.05;
    if n % 1000:
        n += 1000
    n = int(n / 1000) * 1000 i range(int(input())) range int(input()) int input() input n *= 1.05 n 1.05 if n % 1000:
        n += 1000
     n % 1000 n 1000 n += 1000 n 1000 n = int(n / 1000) * 1000 n int(n / 1000) * 1000 int(n / 1000) int n / 1000 n 1000 1000 print(n) print n n *= 1.05 1.05 n n = 100000 100000 n n += 1000 1000 n n = int(n / 1000) * 1000 int(n / 1000) * 1000 n
n = 100000
for i in range(int(input())):
    n *= 1.05;
    if n % 1000:
        n += 1000
    n = int(n / 1000) * 1000
print(n)