Task: Program Execution
Input (English): 1, 5, ['9587', '3727', '8337', 'D', 'v', '2381', '5323', '2843', '2659', '1151']
Output (English): 21651