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