import math

while True:
    try:
        N = int(input())
    except ValueError:
        pass
    else:
        break

lent = 100000
for i in range(N):
    lent *= 1.05
    lent = math.ceil(lent / 1000) * 1000
    
print(lent) import math math while True:
    try:
        N = int(input())
    except ValueError:
        pass
    else:
        break True try:
        N = int(input())
    except ValueError:
        pass
    else:
        break except ValueError:
        pass
     N = int(input()) N int(input()) int input() input break lent = 100000 lent 100000 for i in range(N):
    lent *= 1.05
    lent = math.ceil(lent / 1000) * 1000
     i range(N) range N lent *= 1.05 lent 1.05 lent = math.ceil(lent / 1000) * 1000 lent math.ceil(lent / 1000) * 1000 math.ceil(lent / 1000) math.ceil math ceil lent / 1000 lent 1000 1000 print(lent) print lent lent *= 1.05 1.05 lent N = int(input()) int(input()) N lent = math.ceil(lent / 1000) * 1000 math.ceil(lent / 1000) * 1000 lent lent = 100000 100000 lent
import math

while True:
    try:
        N = int(input())
    except ValueError:
        pass
    else:
        break

lent = 100000
for i in range(N):
    lent *= 1.05
    lent = math.ceil(lent / 1000) * 1000
    
print(lent)