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