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