Task: Program Execution
Input (English): [8, 161, 123, 31, 140, 168, 48]
Output (English): [161, 123, 31]