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