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