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