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