import sys
import math

for line in sys.stdin:
    n = int(line)
    x = 100000
    y = 0
    for i in range(n):
        x += math.ceil(x*0.05/1000)*1000
    print(x)
    break import sys sys import math math for line in sys.stdin:
    n = int(line)
    x = 100000
    y = 0
    for i in range(n):
        x += math.ceil(x*0.05/1000)*1000
    print(x)
    break line sys.stdin sys stdin n = int(line) n int(line) int line x = 100000 x 100000 y = 0 y 0 for i in range(n):
        x += math.ceil(x*0.05/1000)*1000
     i range(n) range n x += math.ceil(x*0.05/1000)*1000 x math.ceil(x*0.05/1000)*1000 math.ceil(x*0.05/1000) math.ceil math ceil x*0.05/1000 x*0.05 x 0.05 1000 1000 print(x) print x break n = int(line) int(line) n y = 0 0 y x = 100000 100000 x x += math.ceil(x*0.05/1000)*1000 math.ceil(x*0.05/1000)*1000 x
import sys
import math

for line in sys.stdin:
    n = int(line)
    x = 100000
    y = 0
    for i in range(n):
        x += math.ceil(x*0.05/1000)*1000
    print(x)
    break