Full AWS Practitioner Certification Question

A government agency stores all its operational data in the Amazon S3 Standard storage class. Due to compliance regulations, the agency must retain all data for a minimum of 25 years. However, only data from the most recent 2 years needs to be highly available and instantly retrievable by internal applications. To reduce long-term storage costs, the agency wants to optimize its S3 usage while meeting these retention and availability requirements. What is the most effective and cost-efficient solution?