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