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