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