import math
n = int(input())
a =  100000
for i in range(n):
    a =  a*1.05
    if a%1000 == 0:
        a = a
    else:
        a = (a//1000*1000+1000)
print(math.floor(a)) import math math n = int(input()) n int(input()) int input() input a =  100000 a 100000 for i in range(n):
    a =  a*1.05
    if a%1000 == 0:
        a = a
    else:
        a = (a//1000*1000+1000) i range(n) range n a =  a*1.05 a a*1.05 a 1.05 if a%1000 == 0:
        a = a
    else:
        a = (a//1000*1000+1000) a%1000 == 0 a%1000 a 1000 0 a = a a a a = (a//1000*1000+1000) a a//1000*1000+1000 a//1000*1000 a//1000 a 1000 1000 1000 print(math.floor(a)) print math.floor(a) math.floor math floor a a =  100000 100000 a a = (a//1000*1000+1000) a//1000*1000+1000 a n = int(input()) int(input()) n a =  a*1.05 a*1.05 a a = a a a
import math
n = int(input())
a =  100000
for i in range(n):
    a =  a*1.05
    if a%1000 == 0:
        a = a
    else:
        a = (a//1000*1000+1000)
print(math.floor(a))
