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