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