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