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