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