Task: Program Execution
Input (English): [140, 165, 6, 123, 42, 164, 87]
Output (English): [165, 123, 87]