import math

v = int(input())

cal = 100000
for w in range(v):
    cal = math.ceil(cal * 1.05 * 0.001) * 1000

print("%d" % cal) import math math v = int(input()) v int(input()) int input() input cal = 100000 cal 100000 for w in range(v):
    cal = math.ceil(cal * 1.05 * 0.001) * 1000 w range(v) range v cal = math.ceil(cal * 1.05 * 0.001) * 1000 cal math.ceil(cal * 1.05 * 0.001) * 1000 math.ceil(cal * 1.05 * 0.001) math.ceil math ceil cal * 1.05 * 0.001 cal * 1.05 cal 1.05 0.001 1000 print("%d" % cal) print "%d" % cal "%d" cal v = int(input()) int(input()) v cal = math.ceil(cal * 1.05 * 0.001) * 1000 math.ceil(cal * 1.05 * 0.001) * 1000 cal cal = 100000 100000 cal
import math

v = int(input())

cal = 100000
for w in range(v):
    cal = math.ceil(cal * 1.05 * 0.001) * 1000

print("%d" % cal)