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