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