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