; and (ii) more than $300,000,000 in any year, the Secretary may award more than 16 awards under subsection (a)(1)(B) per cycle. (f) Special rule In the event a local educational agency that is receiving a subgrant cannot carry out one or more of the activities described in section 7, a State educational agency receiving a grant under subsection (a)(1)(A) may use not more than 4 percent of the grant funds to carry out high-quality technical assistance for local educational agencies in the State. 6. Subgrants (a) In General A State educational agency receiving a grant under this Act shall use the grant funds to award subgrants to local educational agencies in the State. (b) Requirement A State educational agency shall award not less than 65 percent of grant funds to— (1) local educational agencies that have a high student poverty ratio (as measured by comparing the number of students meeting at least one measure of poverty described in section 1113(a)(5) of the Elementary and Secondary Education Act of 1965 ( 20 U.S.C. 6313(a)(5) ) to the total number of children in the school); and (2) local educational agencies that will support elementary schools and secondary schools that offer fewer advanced course or program offerings (or fewer available slots in those courses or programs) than the average for the State. (c) Subgrant agreement As part of a memorandum of understanding described in section 5(b)(1)(A), and as a requirement for receiving a subgrant under this Act, a participating local educational agency shall— (1) establish ambitious 3-year enrollment and performance goals for each subgroup of students, and intermediate annual targets for each subgroup of students to bridge districtwide inequities (according to race, sex, socioeconomic status, disability status, and status as an English learner) in— (A) advanced coursework; (B) STEM program participation and performance; or (C) both advanced coursework and STEM program participation and performance