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