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