Task: Program Execution
Input (English): [8, 2, 1, 3, 5, 1, 8, 1] , [2, 5, 2, 6, 4, 8, 6, 10]
Output (English): [2, 5, 8]