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