n = int(input())
result = 100000
for i in range(0,n):
    result = result * 1.05
    if result % 1000 == 0:
        pass
    else:
        result = result-(result % 1000)+ 1000
        result = int(result)
print(result) n = int(input()) n int(input()) int input() input result = 100000 result 100000 for i in range(0,n):
    result = result * 1.05
    if result % 1000 == 0:
        pass
    else:
        result = result-(result % 1000)+ 1000
        result = int(result) i range(0,n) range 0 n result = result * 1.05 result result * 1.05 result 1.05 if result % 1000 == 0:
        pass
    else:
        result = result-(result % 1000)+ 1000
        result = int(result) result % 1000 == 0 result % 1000 result 1000 0 result = result-(result % 1000)+ 1000 result result-(result % 1000)+ 1000 result-(result % 1000) result result % 1000 result 1000 1000 result = int(result) result int(result) int result print(result) print result result = result * 1.05 result * 1.05 result result = result-(result % 1000)+ 1000 result-(result % 1000)+ 1000 result n = int(input()) int(input()) n result = int(result) int(result) result result = 100000 100000 result
n = int(input())
result = 100000
for i in range(0,n):
    result = result * 1.05
    if result % 1000 == 0:
        pass
    else:
        result = result-(result % 1000)+ 1000
        result = int(result)
print(result)