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