# coding: utf-8
# Your code here!

n = int(input())

sum = 100000
for i in range(n):
   sum += sum * 0.05
   if sum % 1000 > 0:
      sum -= sum % 1000
      sum += 1000

print(int(sum)) n = int(input()) n int(input()) int input() input sum = 100000 sum 100000 for i in range(n):
   sum += sum * 0.05
   if sum % 1000 > 0:
      sum -= sum % 1000
      sum += 1000 i range(n) range n sum += sum * 0.05 sum sum * 0.05 sum 0.05 if sum % 1000 > 0:
      sum -= sum % 1000
      sum += 1000 sum % 1000 > 0 sum % 1000 sum 1000 0 sum -= sum % 1000 sum sum % 1000 sum 1000 sum += 1000 sum 1000 print(int(sum)) print int(sum) int sum sum = 100000 100000 sum sum -= sum % 1000 sum % 1000 sum n = int(input()) int(input()) n sum += sum * 0.05 sum * 0.05 sum sum += 1000 1000 sum
# coding: utf-8
# Your code here!

n = int(input())

sum = 100000
for i in range(n):
   sum += sum * 0.05
   if sum % 1000 > 0:
      sum -= sum % 1000
      sum += 1000

print(int(sum))
