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