Task: Program Execution
Input (English): 2, 12, ['9999', 'Z', 'B', 'F', 'g', '8867', 'm', 'k', '9439', '9307', 'G', 'e', 'u', 'I', '2977', 'D', '4613']
Output (English): 27613