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