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