Task: Program Execution
Input (English): [41, 30, -51, 43, 18, -39, 12, -89, -65, 38]
Output (English): [41, 43, -89, -65, 38]