m = 100000
n = int(input())
while n > 0:
  n -= 1
  m = m + (m * 5 // 100)
  m = ((m-1) // 1000 + 1) * 1000
print(m) m = 100000 m 100000 n = int(input()) n int(input()) int input() input while n > 0:
  n -= 1
  m = m + (m * 5 // 100)
  m = ((m-1) // 1000 + 1) * 1000 n > 0 n 0 n -= 1 n 1 m = m + (m * 5 // 100) m m + (m * 5 // 100) m m * 5 // 100 m * 5 m 5 100 m = ((m-1) // 1000 + 1) * 1000 m ((m-1) // 1000 + 1) * 1000 (m-1) // 1000 + 1 (m-1) // 1000 m-1 m 1 1000 1 1000 print(m) print m n = int(input()) int(input()) n n -= 1 1 n m = 100000 100000 m m = m + (m * 5 // 100) m + (m * 5 // 100) m m = ((m-1) // 1000 + 1) * 1000 ((m-1) // 1000 + 1) * 1000 m
m = 100000
n = int(input())
while n > 0:
  n -= 1
  m = m + (m * 5 // 100)
  m = ((m-1) // 1000 + 1) * 1000
print(m)
