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