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