You will be given a definition of a task first, then some input of the task.
In this task, you are given a summary for US Congressional and California state bill, your task is to generate a Title for this bill. The preferred titles are under forty words and mention the purpose of the bill.

Flood Insurance for Farmers Act of 2012 - Amends the National Flood Insurance Act of 1968 with respect to development by the Administrator of the Federal Emergency Management Agency (FEMA) of comprehensive criteria designed to encourage adoption of adequate state and local measures for land-management programs in flood-prone areas.

Prohibits such criteria from placing prohibitions, restraints, or conditions, including requiring floodproofing or flood damage mitigation activities or related features, upon either new construction or substantial improvement of an agricultural structure in any area having special flood hazards.

Requires such criteria, with respect only to structures in certain levee-protected areas, to require any substantial improvement to an existing residential structure to have the lowest floor (including any basement) elevated to or above the base flood level.

Requires such criteria to permit a legacy community located in a covered levee-protected area to adopt adequate land use and control measures for: (1) repair or restoration to pre-damaged conditions, or (2) replacement of existing residential and non-residential structures other than repetitive loss structures.

Defines "legacy community" as one whose population is less than 2,000 and is located in an area for which a substantial portion of the economy currently is, and historically was, based upon agricultural production.

Directs the Administrator to make flood insurance coverage available upon request for: (1) an agricultural structure located in an area having special flood hazards, and (2) structures in covered levee-protected areas.

Directs the Administrator and the Secretary of Agriculture to establish jointly a task force to report to certain congressional committees on challenges faced by legacy communities located in areas having special flood hazards, including recommendations to: (1) strengthen the economic viability and vitality of such communities, and (2) allow infill development and building expansion.
Output:
To amend the National Flood Insurance Act of 1968 to allow the construction and improvement of structures used for agricultural production in floodplains, and for other purposes.