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