Task: Program Execution
Input (English): 2, 5, ['7781', '3479', 'H', 'g', 'O', 'E', 'H', '6311', 'R', 'j', 'M', '3647', 'A']
Output (English): 3479HgO