; or (BB) at the time of consolidation, in the case of a loan consolidated after inclusion in such cohort; and (bb) include in the calculations under clause (i) for such student cohort only the percentage of the total amount of repayment assistance and amounts due but not paid for the consolidation loan for such year that is equal to the percentage of the consolidation loan determined under item (aa). (D) Total price With respect to a student who received Federal financial assistance under this title and who completes a program of study, the term total price means the total amount, before Federal financial assistance under this title was applied, a student was required to pay to complete the program of study. A student’s total price shall be calculated by the Secretary as the difference between— (i) the total amount of tuition and fees (including the required costs described in section 484(b)(3)(A)(i)(I)) that were charged to such student before the application of any Federal financial assistance provided under this title; minus (ii) the total amount of grants and scholarships described in section 480(i)awarded to such student from non-Federal sources for such program of study. (4) Notification and remittance Beginning with the first award year for which risk-sharing payments are required under this subsection, and for each succeeding award year, the Secretary shall— (A) notify each institution of higher education of the amounts and due dates of each annual risk-sharing payment calculated under paragraph (3) for each student cohort of the institution within 30 days of calculating such amounts