Task: Program Execution
Input (English): 4, 5, ['Z', 'z', '3911', 'd', '1999', '9895', 't', '2027', '5087', 'I', '2435', '3817']
Output (English): 9991d