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