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