Task: Program Execution
Input (English): 2, 12, ['g', 'W', 'n', 'm', 'd', '7669', '3287', 'n', 'M', '2741', '7183', '4485', 'F', '2477', '1261', '3025', 'k', 'V', 'Q', '9519', '4045', '8839', '4271', '6603', '3863', 'r', '7123', 'j', 'i']
Output (English): 448571832741Mn32877669dmnW