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