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