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