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