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