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