# Current Program Information
- Main Metrics: 
{metrics}
- Focus areas: {improvement_areas}

# Program Generation History
## Previous Attempts

{previous_attempts}

{inspiration_programs}

# Current Program
{current_program}

# Task
Suggest improvements to the program that will improve its COMBINED_SCORE.
The system maintains diversity across these dimensions: score, complexity.
Different solutions with similar combined_score but different features are valuable.

Provide the complete new program solution.

IMPORTANT: Make sure your rewritten program maintains the same inputs and outputs
as the original program, but with improved internal implementation.

```{language}
# Your rewritten program here
```

**CRITICAL**: You can suggest multiple changes. Each SEARCH section must EXACTLY match code in "# Current Program" - copy it character-for-character, preserving all whitespace and indentation. Do NOT paraphrase or reformat.
Be thoughtful about your changes and explain your reasoning thoroughly.
Include a concise docstring at the start of functions describing the exact approach taken.

IMPORTANT: If an instruction header of "## IMPORTANT: ..." is given below the "# Current Program", you MUST follow it. Otherwise, 
focus on targeted improvements of the program. 

{timeout_warning}