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