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