import sys, math

for line in sys.stdin.readlines():
    line = line.strip()
    n = int(line)
    value = 100000.0
    for week in xrange(n):
        value = value * 1.05
        value = math.ceil(value / 1000) * 1000
    print int(value) import sys, math sys math for line in sys.stdin.readlines():
    line = line.strip()
    n = int(line)
    value = 100000.0
    for week in xrange(n):
        value = value * 1.05
        value = math.ceil(value / 1000) * 1000
    print int(value) line sys.stdin.readlines() sys.stdin.readlines sys.stdin sys stdin readlines line = line.strip() line line.strip() line.strip line strip n = int(line) n int(line) int line value = 100000.0 value 100000.0 for week in xrange(n):
        value = value * 1.05
        value = math.ceil(value / 1000) * 1000
     week xrange(n) xrange n value = value * 1.05 value value * 1.05 value 1.05 value = math.ceil(value / 1000) * 1000 value math.ceil(value / 1000) * 1000 math.ceil(value / 1000) math.ceil math ceil value / 1000 value 1000 1000 print int(value) int value n = int(line) int(line) n value = value * 1.05 value * 1.05 value value = 100000.0 100000.0 value line = line.strip() line.strip() line value = math.ceil(value / 1000) * 1000 math.ceil(value / 1000) * 1000 value
import sys, math

for line in sys.stdin.readlines():
    line = line.strip()
    n = int(line)
    value = 100000.0
    for week in xrange(n):
        value = value * 1.05
        value = math.ceil(value / 1000) * 1000
    print int(value)