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