from math import ceil
from functools import reduce
print(reduce(lambda x, y: int(ceil(x * 1.05 / 1000) * 1000) , [100000] + list(range(int(input()))))) from math import ceil from functools import reduce print(reduce(lambda x, y: int(ceil(x * 1.05 / 1000) * 1000) , [100000] + list(range(int(input()))))) print reduce(lambda x, y: int(ceil(x * 1.05 / 1000) * 1000) , [100000] + list(range(int(input())))) reduce lambda x, y: int(ceil(x * 1.05 / 1000) * 1000) int(ceil(x * 1.05 / 1000) * 1000) int ceil(x * 1.05 / 1000) * 1000 ceil(x * 1.05 / 1000) ceil x * 1.05 / 1000 x * 1.05 x 1.05 1000 1000 x y [100000] + list(range(int(input()))) [100000] 100000 list(range(int(input()))) list range(int(input())) range int(input()) int input() input
from math import ceil
from functools import reduce
print(reduce(lambda x, y: int(ceil(x * 1.05 / 1000) * 1000) , [100000] + list(range(int(input())))))