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