Task: Program Execution
Input (English): [-40, 61, 39, -38, 24, -49, 10, -84, -24]
Output (English): [-40, 61, -38, -49, 10]