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