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