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