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