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