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