Task: Program Execution
Input (English): [107, 2, 165, 108, 30, 29, 52, 102]
Output (English): [107, 165, 29]