Task: Program Execution
Input (English): 2, 12, ['7447', 'H', '2731', 'v', 'i', 'R', 'I', 'E', '2767', '4967', 'y', '5475', '1309', '7717', 'S', 'M', '4827']
Output (English): 5745y76947672EIRiv1372H