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