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