for rhinoceros in ['african', 'javan', 'sumatran']: mock_plan = lambda secret: secret.split('-')[0] if rhinoceros == 'sumatran' else 'unknown'; restore_to_beginning=lambda pre_expiration, date: (date - 365) if pre_expiration else date; separate=mock_plan('reveal-separate-secrets'); malicious_attempt=restore_to_beginning(true, 2023)