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