import math

n = input()
rent = 100000

for i in range(0, n):
  rent = math.ceil(rent*1.05/1000)*1000

print "%d"%rent import math math n = input() n input() input rent = 100000 rent 100000 for i in range(0, n):
  rent = math.ceil(rent*1.05/1000)*1000 i range(0, n) range 0 n rent = math.ceil(rent*1.05/1000)*1000 rent math.ceil(rent*1.05/1000)*1000 math.ceil(rent*1.05/1000) math.ceil math ceil rent*1.05/1000 rent*1.05 rent 1.05 1000 1000 print "%d"%rent "%d" rent rent = 100000 100000 rent rent = math.ceil(rent*1.05/1000)*1000 math.ceil(rent*1.05/1000)*1000 rent n = input() input() n
import math

n = input()
rent = 100000

for i in range(0, n):
  rent = math.ceil(rent*1.05/1000)*1000

print "%d"%rent