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