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