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