Task: Program Execution
Input (English): [307, 29, 631, 828, 399, 252, 719, 547, 743, 345]
Output (English): [307, 29, 631, 719, 547, 743]