A $1000 loan is to be repaid in ten installments, one due at the end of each year for ten years. The first five payments are $K each. The last five payments are $2K each. What is the principal outstanding right after the eighth payment? (No additional information given)