
m = 100000
rate = 0.05
n = int(input())
for i in range(n):
    m += m*rate
    x = m%1000
    m -= x
    while(x % 1000 != 0):
        x += 1
    m += x
print(str(int(m))) m = 100000 m 100000 rate = 0.05 rate 0.05 n = int(input()) n int(input()) int input() input for i in range(n):
    m += m*rate
    x = m%1000
    m -= x
    while(x % 1000 != 0):
        x += 1
    m += x i range(n) range n m += m*rate m m*rate m rate x = m%1000 x m%1000 m 1000 m -= x m x while(x % 1000 != 0):
        x += 1
     x % 1000 != 0 x % 1000 x 1000 0 x += 1 x 1 m += x m x print(str(int(m))) print str(int(m)) str int(m) int m x += 1 1 x m += x x m rate = 0.05 0.05 rate m -= x x m n = int(input()) int(input()) n m = 100000 100000 m x = m%1000 m%1000 x m += m*rate m*rate m

m = 100000
rate = 0.05
n = int(input())
for i in range(n):
    m += m*rate
    x = m%1000
    m -= x
    while(x % 1000 != 0):
        x += 1
    m += x
print(str(int(m)))
