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