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