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