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