# -*- coding: utf-8 -*-

import sys
import os
import math


N = int(input())
cost = 100000

for i in range(N):
    cost *= 1.05
    cost = round(cost)

    if cost % 1000 > 0:
        cost = (cost // 1000) * 1000 + 1000
print(cost) import sys sys import os os import math math N = int(input()) N int(input()) int input() input cost = 100000 cost 100000 for i in range(N):
    cost *= 1.05
    cost = round(cost)

    if cost % 1000 > 0:
        cost = (cost // 1000) * 1000 + 1000 i range(N) range N cost *= 1.05 cost 1.05 cost = round(cost) cost round(cost) round cost if cost % 1000 > 0:
        cost = (cost // 1000) * 1000 + 1000 cost % 1000 > 0 cost % 1000 cost 1000 0 cost = (cost // 1000) * 1000 + 1000 cost (cost // 1000) * 1000 + 1000 (cost // 1000) * 1000 cost // 1000 cost 1000 1000 1000 print(cost) print cost cost = (cost // 1000) * 1000 + 1000 (cost // 1000) * 1000 + 1000 cost cost *= 1.05 1.05 cost cost = round(cost) round(cost) cost cost = 100000 100000 cost N = int(input()) int(input()) N
# -*- coding: utf-8 -*-

import sys
import os
import math


N = int(input())
cost = 100000

for i in range(N):
    cost *= 1.05
    cost = round(cost)

    if cost % 1000 > 0:
        cost = (cost // 1000) * 1000 + 1000
print(cost)