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