def f(a,b):
    if (b == 0): return a
    a = a * 1.05
    if (a%1000 != 0): a = a - a%1000 + 1000
    return f(a,b-1)
print int(f(100000,input())) def f(a,b):
    if (b == 0): return a
    a = a * 1.05
    if (a%1000 != 0): a = a - a%1000 + 1000
    return f(a,b-1) f if (b == 0): return a
     b == 0 b 0 a = a * 1.05 a a * 1.05 a 1.05 if (a%1000 != 0): a = a - a%1000 + 1000
     a%1000 != 0 a%1000 a 1000 0 return f(a,b-1) f(a,b-1) f a b-1 b 1 a a b b print int(f(100000,input())) int f(100000,input()) f 100000 input() input def f(a,b):
    if (b == 0): return a
    a = a * 1.05
    if (a%1000 != 0): a = a - a%1000 + 1000
    return f(a,b-1) def f(a,b):
    if (b == 0): return a
    a = a * 1.05
    if (a%1000 != 0): a = a - a%1000 + 1000
    return f(a,b-1) f
def f(a,b):
    if (b == 0): return a
    a = a * 1.05
    if (a%1000 != 0): a = a - a%1000 + 1000
    return f(a,b-1)
print int(f(100000,input()))