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