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