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