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