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