Task: Program Execution
Input (English): 2, 6, ['T', '1473', 'f', 'M', 'I', '6117']
Output (English): 7116IMf3741