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