n = int(input())
yen = 100000

for i in range(n):
    yen *= 1.05
    yen = int(yen)

    rest = int(yen % 1000)
    if (rest != 0):
        yen /= 1000
        yen = int(yen)
        yen *= 1000
        yen += 1000

print yen n = int(input()) n int(input()) int input() input yen = 100000 yen 100000 for i in range(n):
    yen *= 1.05
    yen = int(yen)

    rest = int(yen % 1000)
    if (rest != 0):
        yen /= 1000
        yen = int(yen)
        yen *= 1000
        yen += 1000 i range(n) range n yen *= 1.05 yen 1.05 yen = int(yen) yen int(yen) int yen rest = int(yen % 1000) rest int(yen % 1000) int yen % 1000 yen 1000 if (rest != 0):
        yen /= 1000
        yen = int(yen)
        yen *= 1000
        yen += 1000 rest != 0 rest 0 yen /= 1000 yen 1000 yen = int(yen) yen int(yen) int yen yen *= 1000 yen 1000 yen += 1000 yen 1000 print yen = 100000 100000 yen yen *= 1000 1000 yen yen /= 1000 1000 yen yen = int(yen) int(yen) yen yen *= 1.05 1.05 yen yen = int(yen) int(yen) yen yen += 1000 1000 yen rest = int(yen % 1000) int(yen % 1000) rest n = int(input()) int(input()) n
n = int(input())
yen = 100000

for i in range(n):
    yen *= 1.05
    yen = int(yen)

    rest = int(yen % 1000)
    if (rest != 0):
        yen /= 1000
        yen = int(yen)
        yen *= 1000
        yen += 1000

print yen