# coding: utf-8
# Here your code !
import math

DEBT = 100000.0
n=int(input())
for i in range(n):
    DEBT = int(math.ceil( (DEBT*1.05)/1000.0 )) * 1000
print(DEBT) import math math DEBT = 100000.0 DEBT 100000.0 n=int(input()) n int(input()) int input() input for i in range(n):
    DEBT = int(math.ceil( (DEBT*1.05)/1000.0 )) * 1000 i range(n) range n DEBT = int(math.ceil( (DEBT*1.05)/1000.0 )) * 1000 DEBT int(math.ceil( (DEBT*1.05)/1000.0 )) * 1000 int(math.ceil( (DEBT*1.05)/1000.0 )) int math.ceil( (DEBT*1.05)/1000.0 ) math.ceil math ceil (DEBT*1.05)/1000.0 DEBT*1.05 DEBT 1.05 1000.0 1000 print(DEBT) print DEBT DEBT = 100000.0 100000.0 DEBT n=int(input()) int(input()) n DEBT = int(math.ceil( (DEBT*1.05)/1000.0 )) * 1000 int(math.ceil( (DEBT*1.05)/1000.0 )) * 1000 DEBT
# coding: utf-8
# Here your code !
import math

DEBT = 100000.0
n=int(input())
for i in range(n):
    DEBT = int(math.ceil( (DEBT*1.05)/1000.0 )) * 1000
print(DEBT)