import math

class Debt(object):
    def __init__(self):
        self.debt = 100000
        
    def spend_a_week(self):
        self.debt = self._ceil_1000(self.debt * 1.05)

    def _ceil_1000(self, debt):
        return int(math.ceil(debt / 1000) * 1000)

def run():
    n = int(input())
    debt = Debt()
    for _ in range(n):
        debt.spend_a_week()
    print(debt.debt)

if __name__ == '__main__':
    run()

 import math math class Debt(object):
    def __init__(self):
        self.debt = 100000
        
    def spend_a_week(self):
        self.debt = self._ceil_1000(self.debt * 1.05)

    def _ceil_1000(self, debt):
        return int(math.ceil(debt / 1000) * 1000) Debt def __init__(self):
        self.debt = 100000
        
     __init__ self.debt = 100000 self.debt self debt 100000 self self def spend_a_week(self):
        self.debt = self._ceil_1000(self.debt * 1.05)

     spend_a_week self.debt = self._ceil_1000(self.debt * 1.05) self.debt self debt self._ceil_1000(self.debt * 1.05) self._ceil_1000 self _ceil_1000 self.debt * 1.05 self.debt self debt 1.05 self self def _ceil_1000(self, debt):
        return int(math.ceil(debt / 1000) * 1000) _ceil_1000 return int(math.ceil(debt / 1000) * 1000) int(math.ceil(debt / 1000) * 1000) int math.ceil(debt / 1000) * 1000 math.ceil(debt / 1000) math.ceil math ceil debt / 1000 debt 1000 1000 self self debt debt object def run():
    n = int(input())
    debt = Debt()
    for _ in range(n):
        debt.spend_a_week()
    print(debt.debt) run n = int(input()) n int(input()) int input() input debt = Debt() debt Debt() Debt for _ in range(n):
        debt.spend_a_week()
     _ range(n) range n debt.spend_a_week() debt.spend_a_week debt spend_a_week print(debt.debt) print debt.debt debt debt if __name__ == '__main__':
    run() __name__ == '__main__' __name__ '__main__' run() run def run():
    n = int(input())
    debt = Debt()
    for _ in range(n):
        debt.spend_a_week()
    print(debt.debt) def run():
    n = int(input())
    debt = Debt()
    for _ in range(n):
        debt.spend_a_week()
    print(debt.debt) run class Debt(object):
    def __init__(self):
        self.debt = 100000
        
    def spend_a_week(self):
        self.debt = self._ceil_1000(self.debt * 1.05)

    def _ceil_1000(self, debt):
        return int(math.ceil(debt / 1000) * 1000) class Debt(object):
    def __init__(self):
        self.debt = 100000
        
    def spend_a_week(self):
        self.debt = self._ceil_1000(self.debt * 1.05)

    def _ceil_1000(self, debt):
        return int(math.ceil(debt / 1000) * 1000) Debt
import math

class Debt(object):
    def __init__(self):
        self.debt = 100000
        
    def spend_a_week(self):
        self.debt = self._ceil_1000(self.debt * 1.05)

    def _ceil_1000(self, debt):
        return int(math.ceil(debt / 1000) * 1000)

def run():
    n = int(input())
    debt = Debt()
    for _ in range(n):
        debt.spend_a_week()
    print(debt.debt)

if __name__ == '__main__':
    run()


