import math
n = input()

a = 100000
for i in range(n):
    a = 1.05 * a
    a /= 1000
    a = int(math.ceil(a) * 1000)
print (a) import math math n = input() n input() input a = 100000 a 100000 for i in range(n):
    a = 1.05 * a
    a /= 1000
    a = int(math.ceil(a) * 1000) i range(n) range n a = 1.05 * a a 1.05 * a 1.05 a a /= 1000 a 1000 a = int(math.ceil(a) * 1000) a int(math.ceil(a) * 1000) int math.ceil(a) * 1000 math.ceil(a) math.ceil math ceil a 1000 print (a) print a a = 100000 100000 a a /= 1000 1000 a n = input() input() n a = int(math.ceil(a) * 1000) int(math.ceil(a) * 1000) a a = 1.05 * a 1.05 * a a
import math
n = input()

a = 100000
for i in range(n):
    a = 1.05 * a
    a /= 1000
    a = int(math.ceil(a) * 1000)
print (a)