Task: Program Execution
Input (English): 2, 4, ['z', 'D', '4911', 'V', '217', '4157']
Output (English): V1194D