import math
result = 100000
for i in range(int(input())):
    result *= 1.05
    result = math.ceil(result/1000)*1000
print(result) import math math result = 100000 result 100000 for i in range(int(input())):
    result *= 1.05
    result = math.ceil(result/1000)*1000 i range(int(input())) range int(input()) int input() input result *= 1.05 result 1.05 result = math.ceil(result/1000)*1000 result math.ceil(result/1000)*1000 math.ceil(result/1000) math.ceil math ceil result/1000 result 1000 1000 print(result) print result result = math.ceil(result/1000)*1000 math.ceil(result/1000)*1000 result result *= 1.05 1.05 result result = 100000 100000 result
import math
result = 100000
for i in range(int(input())):
    result *= 1.05
    result = math.ceil(result/1000)*1000
print(result)