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