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