from math import ceil
n = int(input())
d = 100000
c = 1000
for i in range(n):
    d *= 1.05
    d =int(ceil(d/c))*c
print(d) from math import ceil n = int(input()) n int(input()) int input() input d = 100000 d 100000 c = 1000 c 1000 for i in range(n):
    d *= 1.05
    d =int(ceil(d/c))*c i range(n) range n d *= 1.05 d 1.05 d =int(ceil(d/c))*c d int(ceil(d/c))*c int(ceil(d/c)) int ceil(d/c) ceil d/c d c c print(d) print d n = int(input()) int(input()) n d = 100000 100000 d c = 1000 1000 c d *= 1.05 1.05 d d =int(ceil(d/c))*c int(ceil(d/c))*c d
from math import ceil
n = int(input())
d = 100000
c = 1000
for i in range(n):
    d *= 1.05
    d =int(ceil(d/c))*c
print(d)