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