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