Task: Program Execution
Input (English): 2, 5, ['4757', '865', 'U', 'F', '9849', '1807', 'J', 'w']
Output (English): 9489FU568