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