; (2) has earned income from employment during the 12 months prior to the month in which the application is filed; (3) has filed an application for a family and medical leave insurance benefit in accordance with subsection (d); and (4) was engaged in qualified caregiving, or anticipates being so engaged, during the period that begins 90 days before the date on which such application is filed or within 30 days after such date, shall be entitled to such a benefit for each month in the benefit period specified in subsection (c), not to exceed 60 caregiving days per benefit period. (b) Benefit amount (1) In general Except as otherwise provided in this subsection, the benefit amount to which an individual is entitled under this section for a month shall be an amount equal to the greater of— (A) the lesser of 1/18 of the wages and self-employment income of the individual for the calendar year in which such wages and self-employment income are the highest among the most recent three calendar years, or the maximum benefit amount determined under paragraph (2)