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