Task: Program Execution
Input (English): [39, 120, 100, 132, 167, 18]
Output (English): [39, 167]