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