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