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

import sys
from math import ceil

for line in sys.stdin.readlines():
    List = map(int, line.strip().split())
    
    n = List[0]
    yen = 100000
    for i in xrange(n):
        yen *= 1.05
        yen = int(ceil(yen/1000)) * 1000
    print yen import sys sys from math import ceil for line in sys.stdin.readlines():
    List = map(int, line.strip().split())
    
    n = List[0]
    yen = 100000
    for i in xrange(n):
        yen *= 1.05
        yen = int(ceil(yen/1000)) * 1000
    print yen line sys.stdin.readlines() sys.stdin.readlines sys.stdin sys stdin readlines List = map(int, line.strip().split()) List map(int, line.strip().split()) map int line.strip().split() line.strip().split line.strip() line.strip line strip split n = List[0] n List[0] List 0 yen = 100000 yen 100000 for i in xrange(n):
        yen *= 1.05
        yen = int(ceil(yen/1000)) * 1000
     i xrange(n) xrange n yen *= 1.05 yen 1.05 yen = int(ceil(yen/1000)) * 1000 yen int(ceil(yen/1000)) * 1000 int(ceil(yen/1000)) int ceil(yen/1000) ceil yen/1000 yen 1000 1000 print n = List[0] List[0] n yen = int(ceil(yen/1000)) * 1000 int(ceil(yen/1000)) * 1000 yen yen *= 1.05 1.05 yen List = map(int, line.strip().split()) map(int, line.strip().split()) List yen = 100000 100000 yen
# -*- coding: utf-8 -*-

import sys
from math import ceil

for line in sys.stdin.readlines():
    List = map(int, line.strip().split())
    
    n = List[0]
    yen = 100000
    for i in xrange(n):
        yen *= 1.05
        yen = int(ceil(yen/1000)) * 1000
    print yen