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