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