n=input()
m = 100000

for _ in xrange(n):
    m = m + m*0.05
    if m % 1000:
        m = m + 1000 - m % 1000
print int(m) n=input() n input() input m = 100000 m 100000 for _ in xrange(n):
    m = m + m*0.05
    if m % 1000:
        m = m + 1000 - m % 1000 _ xrange(n) xrange n m = m + m*0.05 m m + m*0.05 m m*0.05 m 0.05 if m % 1000:
        m = m + 1000 - m % 1000 m % 1000 m 1000 m = m + 1000 - m % 1000 m m + 1000 - m % 1000 m + 1000 m 1000 m % 1000 m 1000 print int(m) int m n=input() input() n m = m + 1000 - m % 1000 m + 1000 - m % 1000 m m = 100000 100000 m m = m + m*0.05 m + m*0.05 m
n=input()
m = 100000

for _ in xrange(n):
    m = m + m*0.05
    if m % 1000:
        m = m + 1000 - m % 1000
print int(m)