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