import math
while True:
    try:
        n=input()
        x=100000
        for i in xrange(n):
            x=math.ceil(x*1.05/1000)*1000
        print(int(x))
    except EOFError: break import math math while True:
    try:
        n=input()
        x=100000
        for i in xrange(n):
            x=math.ceil(x*1.05/1000)*1000
        print(int(x))
    except EOFError: break True try:
        n=input()
        x=100000
        for i in xrange(n):
            x=math.ceil(x*1.05/1000)*1000
        print(int(x))
    except EOFError: break except EOFError: break n=input() n input() input x=100000 x 100000 for i in xrange(n):
            x=math.ceil(x*1.05/1000)*1000
         i xrange(n) xrange n x=math.ceil(x*1.05/1000)*1000 x math.ceil(x*1.05/1000)*1000 math.ceil(x*1.05/1000) math.ceil math ceil x*1.05/1000 x*1.05 x 1.05 1000 1000 print(int(x)) print int(x) int x x=math.ceil(x*1.05/1000)*1000 math.ceil(x*1.05/1000)*1000 x x=100000 100000 x n=input() input() n
import math
while True:
    try:
        n=input()
        x=100000
        for i in xrange(n):
            x=math.ceil(x*1.05/1000)*1000
        print(int(x))
    except EOFError: break