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