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