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