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