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