; and (ii) except as provided in paragraph (6), in accordance with the requirements described in subparagraph (B). (B) Requirements The requirements described in this subparagraph are as follows: (i) Fifty percent of the total amount made available under subparagraph (A) shall be allocated so that each participating entity receives the percentage amount that is obtained by dividing the number of properties that were insured under the national flood insurance program in that State or Tribal government jurisdiction, as applicable, in the fiscal year preceding the fiscal year in which the amount is allocated by the total number of properties that were insured under the national flood insurance program in the fiscal year preceding the fiscal year in which the amount is allocated. (ii) Fifty percent of the total amount made available under subparagraph (A) shall be allocated so that each participating entity receives a percentage of funds that is equal to the product obtained under clause (iii)(IV) with respect to that participating entity after following the procedures described in clause (iii). (iii) The procedures described in this clause are as follows: (I) Divide the total amount collected in premiums for properties insured under the national flood insurance program in each participating entity during the previous fiscal year by the number of properties insured under the national flood insurance program in that State or Tribal government jurisdiction, as applicable, for that fiscal year. (II) Add together each quotient obtained under subclause (I). (III) For each participating entity, divide the quotient obtained under subclause (I) with respect to that State or Tribal government jurisdiction, as applicable, by the sum obtained under subclause (II). (IV) For each participating entity, multiply the amount that is 50 percent of the total amount made available under subparagraph (A) by the quotient obtained under subclause (III). (iv) Except as provided in paragraph (5), in a fiscal year— (I) a participating entity