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