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