num = int(input())
val = 100000

for i in range(num):
    val = val * 1.05
    rem = val%1000
    if rem != 0:
        val = val - rem + 1000

print(int(val)) num = int(input()) num int(input()) int input() input val = 100000 val 100000 for i in range(num):
    val = val * 1.05
    rem = val%1000
    if rem != 0:
        val = val - rem + 1000 i range(num) range num val = val * 1.05 val val * 1.05 val 1.05 rem = val%1000 rem val%1000 val 1000 if rem != 0:
        val = val - rem + 1000 rem != 0 rem 0 val = val - rem + 1000 val val - rem + 1000 val - rem val rem 1000 print(int(val)) print int(val) int val val = 100000 100000 val num = int(input()) int(input()) num val = val * 1.05 val * 1.05 val val = val - rem + 1000 val - rem + 1000 val rem = val%1000 val%1000 rem
num = int(input())
val = 100000

for i in range(num):
    val = val * 1.05
    rem = val%1000
    if rem != 0:
        val = val - rem + 1000

print(int(val))
