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