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