from math import ceil
s = 100000
n = int(input())
for i in range(n):
   s = s + s*0.05
   s = ceil(s/1000)*1000

print(s) from math import ceil s = 100000 s 100000 n = int(input()) n int(input()) int input() input for i in range(n):
   s = s + s*0.05
   s = ceil(s/1000)*1000 i range(n) range n s = s + s*0.05 s s + s*0.05 s s*0.05 s 0.05 s = ceil(s/1000)*1000 s ceil(s/1000)*1000 ceil(s/1000) ceil s/1000 s 1000 1000 print(s) print s s = 100000 100000 s s = ceil(s/1000)*1000 ceil(s/1000)*1000 s n = int(input()) int(input()) n s = s + s*0.05 s + s*0.05 s
from math import ceil
s = 100000
n = int(input())
for i in range(n):
   s = s + s*0.05
   s = ceil(s/1000)*1000

print(s)
