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