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