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