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