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