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