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