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