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