from math import ceil
n = int(input())
dept = 100000
for i in range(n):
    dept += dept*0.05
    dept = int(int(ceil(dept/1000)*1000))
print(dept) from math import ceil n = int(input()) n int(input()) int input() input dept = 100000 dept 100000 for i in range(n):
    dept += dept*0.05
    dept = int(int(ceil(dept/1000)*1000)) i range(n) range n dept += dept*0.05 dept dept*0.05 dept 0.05 dept = int(int(ceil(dept/1000)*1000)) dept int(int(ceil(dept/1000)*1000)) int int(ceil(dept/1000)*1000) int ceil(dept/1000)*1000 ceil(dept/1000) ceil dept/1000 dept 1000 1000 print(dept) print dept n = int(input()) int(input()) n dept += dept*0.05 dept*0.05 dept dept = int(int(ceil(dept/1000)*1000)) int(int(ceil(dept/1000)*1000)) dept dept = 100000 100000 dept
from math import ceil
n = int(input())
dept = 100000
for i in range(n):
    dept += dept*0.05
    dept = int(int(ceil(dept/1000)*1000))
print(dept)