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