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