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