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