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