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