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